我有一个与css一起使用的选框:
.marquee {
position: relative;
overflow: hidden;
font-size: 40px;
font-weight:bold;
height: 45px;
}
.marquee p {
position: absolute;
margin: 0;
width: 1000px;
line-height: 45px;
white-space: nowrap;
animation: marquee 30s linear infinite;
}
@keyframes marquee { /* Animation marquee */
0% { transform: translateX(100%); }
100% { transform: translateX(-100%); }
}

<div class="marquee">
<p> Here stands some Information! </p>
</div>
<div id="box1">test1
<a href="www.google.com" target="_blank" > text1 </a>
</div>
<div id="box2" >test2
<a href="www.google.com" target="_blank" > text2 </a></div>
<div id="box3" >test3
<a href="www.google.com" target="_blank" > text1 </a>
</div>
&#13;
问题:我点击超链接,然后在新标签页中打开。当我回到我的网站时,选框停在超链接打开时的位置!如何自动刷新滚动文本,打开超链接后它还会滚动?