两段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) } 最小化窗口在最大化窗口不成功?? iframe中的页面刷新带来的问题 在线文本编辑器实现的问题 各位有没有显示一行的天气预报代码? 图片显示效果! html菜鸟,求助各位大侠 请教document.write什么时候是重写页面?什么时候是添加? iframe的高度自适应问题 请问大家,如何将此VBScript 的函数改为JAVASCRIPT的? 如何用javascript获取浏览器传过来的参数? 怎样才能把收件箱的视图放到主页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)
}