两段javascript冲突,去掉一段就好了,帮忙啊,sos http://www.cwecn.com/westtravel/jave.html你看看这个页面,一样的 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <iframe name=new_date src='a.htm'></iframe> <IMG alt=点住不放可以快速向左滚动 class=opacity height=16 onmousedown=movover();movstar(-20,3) onmouseout=movover(); onmouseover=movstar(-4,5); onmouseup=movover();movstar(-4,5) src="left.gif" width=16> <IMG alt=点住不放可以快速向右滚动 class=opacity height=16 onmousedown=movover();movstar(20,3) onmouseout=movover(); onmouseover=movstar(4,5); onmouseup=movover();movstar(4,5) src="right.gif" width=16><SCRIPT>var movx;function movstar(a,time){ movx=setInterval("mov("+a+")",time); }function movover(){ clearInterval(movx); }function mov(a){ scrollx=new_date.document.body.scrollLeft; scrolly=new_date.document.body.scrollTop; scrolly=scrolly+a; new_date.window.scroll(scrollx,scrolly); }</SCRIPT> 上面的你自己的代码,你有没有认真的看哟函数名称都不一样,当然对象不存在的呀函数名都没有e的,你调用的地方却有efunction movstar(a,time){ movx=setInterval("mov("+a+")",time) }function movover(){ clearInterval(movx) } 文字颜色不变么? 一个javascript字符串替换问题 大哥大姐们,帮我看看我的东西错在什么地方 如何在客户端获得已打开网页的URL? 多选框如何设置初始值,也就是默认显示预先设置的选择项 如何用下拉框实现这样的功能,请教!,在线等! 超变态的问题,我搞晕了,框架问题,100分啊 请教!如何用javascript动态生成克拖拽的组件? 在javascript中顺序执行语句,如果前一句出现非语法错误,后一句还会执行吗? 求CSDN的这种关闭/打开菜单的功能 怎样才能把收件箱的视图放到主页Mainfile.nsf的表单上?急 CheckBox 如何实现全选?
<iframe name=new_date src='a.htm'></iframe> <IMG alt=点住不放可以快速向左滚动 class=opacity height=16 onmousedown=movover();movstar(-20,3) onmouseout=movover(); onmouseover=movstar(-4,5); onmouseup=movover();movstar(-4,5) src="left.gif" width=16>
<IMG alt=点住不放可以快速向右滚动 class=opacity height=16 onmousedown=movover();movstar(20,3) onmouseout=movover(); onmouseover=movstar(4,5); onmouseup=movover();movstar(4,5) src="right.gif" width=16>
<SCRIPT>
var movx;
function movstar(a,time){
movx=setInterval("mov("+a+")",time);
}
function movover(){
clearInterval(movx);
}
function mov(a){
scrollx=new_date.document.body.scrollLeft;
scrolly=new_date.document.body.scrollTop;
scrolly=scrolly+a;
new_date.window.scroll(scrollx,scrolly);
}
</SCRIPT>
函数名称都不一样,当然对象不存在的呀
函数名都没有e的,你调用的地方却有e
function movstar(a,time){
movx=setInterval("mov("+a+")",time)
}
function movover(){
clearInterval(movx)
}