当前位置:编程学习 > C#/ASP.NET >>

滚动字幕为什么要点击两次才能弹出新的页面

<marquee  align="middle" direction="left" loop="-1" scrollamount=5 onmouseover="this.stop();" onmouseout="this.start();" width=300 height=20>
<font color="#000000">10:35</font>  <a href ="http://www.qq.com/" target="_blank" title="了时间的分类">了时间的分类开始就大方来</a>    
<font color="#000000">10:30</font>  <a href ="http://www.baidu.com" title="士大夫似的发生地方师傅">士大夫似的发生地方师傅是</a>    
<font color="#000000">10:24</font>  <a href ="http://www.maopu.com" title="老师就大方说康复路是你比师傅的">老师就大方说康复路是你</a>   
<font color="#000000">10:24</font>  <a href="http://www.qq.com" title="士大夫似的发生地方是 ">士大夫似的发生地方是 </a>     
<font color="#000000">10:11</font>  <a href="ShowNewContent.aspx?ID=31"  title="市场分析楼上的减肥了了">市场分析楼上的减肥了离开设 </a>  
</marquee>

每次要点击两下标题才能转到其他页面 ,为什么 --------------------编程问答-------------------- 很可能是你页面上有某个控件给设置成autopostback了
所以就要点两次 --------------------编程问答-------------------- 页面什么东西都没有就这个东西 --------------------编程问答-------------------- 我把这些拷进txt,改后缀为htm
打开网页,只点击一次就可以到其他页面 --------------------编程问答-------------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<body>

<marquee  direction="left" loop="-1" scrollamount="5" onmouseover="stop()" onmouseout="start()" width=300 height=20>
<font color="#000000">10:35</font>  <a href ="http://www.qq.com/" target="_blank" title="了时间的分类">了时间的分类开始就大方来</a>    
<font color="#000000">10:30</font>  <a href ="http://www.baidu.com" title="士大夫似的发生地方师傅">士大夫似的发生地方师傅是</a>    
<font color="#000000">10:24</font>  <a href ="http://www.maopu.com" title="老师就大方说康复路是你比师傅的">老师就大方说康复路是你</a>   
<font color="#000000">10:24</font>  <a href="http://www.qq.com" title="士大夫似的发生地方是 ">士大夫似的发生地方是 </a>     
<font color="#000000">10:11</font>  <a href="ShowNewContent.aspx?ID=31"  title="市场分析楼上的减肥了了">市场分析楼上的减肥了离开设 </a>  
</marquee>

 
</body>
</html>

你在试试这个 我试就不行 --------------------编程问答-------------------- 试了,一样
我试点了前3条记录
还是点击一次就打开
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,