本文目录
- Dreamweaver中滚动效果插入 onmouseover“ this.stop“()和onmouseout=“this.start()“
- onmouseover=stop()onmouseout=start()控制不了鼠标的原因
- onmouseover=“this.stop()“onmouseout=“this.start()“
Dreamweaver中滚动效果插入 onmouseover“ this.stop“()和onmouseout=“this.start()“
去掉双引号 onmouseover=this.stop() onmouseout=this.start()
onmouseover=stop()onmouseout=start()控制不了鼠标的原因
写在《marquee 》里面就好, 这是marquee的鼠标动作.改好后是:《marquee onmouseover="this.stop()"onmouseout="this.start()"》《img src="DSC00433.JPG" width="100" height="120" /》 《img src="DSC00743.JPG" width="160" height="120" /》 《img src="DSC00770.JPG" width="160" height="120" /》《img src="DSC00789.JPG" /》 《img src="DSC00778.JPG" width="160" height="120" /》《img src="DSC00375.JPG" width="160" height="120" /》《img src="綦江N464.JPG" width="100" height="120" /》《img src="綦江N464A.JPG" width="100" height="120" /》《/marquee》
是个滚动字幕的描述语言,只有前面的一部分,语言是HTML语言,其中《marquee……》 是字幕定义的开头《……scrollAmount=2……》 是定义滚动速度《……width=300……》 使字幕的宽度《……onmouseover=stop() onmouseout=start()》 是脚本,即鼠标移动到字幕上时停止滚动,挪开时继续滚动。在代码的后面应该还有一点字幕的内容,最后是以代码《/marquee》结束的。
onmouseover=“this.stop()“onmouseout=“this.start()“
onmouseover="this.stop()这句指的是当你的鼠标移到你定义好的对象时.该对象会停止当前的动作.onmouseout="this.start()这句指的是当你的鼠标移开你定义好的对象时,该对象会重新刚才的动作(也就是你在前面定义好的Javascript代码.)