————flash导致网页输入框光标闪动过快————

xunqiuyongheng 2011-08-23 01:41:03
flash网页输入框光标闪动过快,
我把flash删了光标就正常了,
但是flash是导航不能删啦~~~~~~
怎么办啊?有什么解决的问题,
各位大虾帮帮忙啊!
...全文
50 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
wxxth 2011-08-24
  • 打赏
  • 举报
回复
转载自http://blog.sina.com.cn/s/blog_79a08b290100t635.html
原因 光标 与 js 滚动图片冲突

<script>
var speed=5//速度数值越大速度越慢
www_qpsh_com2.innerHTML=www_qpsh_com1.innerHTML
function Marquee(){
if(www_qpsh_com2.offsetWidth-www_qpsh_com.scrollLeft<=0)
www_qpsh_com.scrollLeft-=www_qpsh_com1.offsetWidth
else{
www_qpsh_com.scrollLeft++
}
}
var MyMar=setInterval(Marquee,speed)
www_qpsh_com.onmouseover=function() {clearInterval(MyMar)}
www_qpsh_com.onmouseout=function() {MyMar=setInterval(Marquee,speed)}


function StopMove()
{
clearInterval(MyMar)
}

function StartMove()
{
MyMar=setInterval(Marquee,speed)
}

</script>



文本框:

this.name.Attributes.Add("onblur", "StartMove()");
this.name.Attributes.Add("onfocus", "StopMove()");
this.pwd.Attributes.Add("onblur", "StartMove()");
this.pwd.Attributes.Add("onfocus", "StopMove()");
this.code.Attributes.Add("onblur", "StartMove()");
this.code.Attributes.Add("onfocus", "StopMove()");





2,275

社区成员

发帖
与我相关
我的任务
社区描述
多媒体/设计/Flash/Silverlight 开发 Flash流媒体开发
社区管理员
  • Flash流媒体开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧