onmouseover 鼠标放上去也状态栏内容不变
状态栏显示,状态栏显示内容,状态栏内容
<script language="Javascript">
<!--
var x = 0
var speed = 200
var text = "显示内容"
var course = 120
var text2 = text
function Scroll() {
window.status = text2.substring(0, text2.length)
if (course < text2.length) {
setTimeout("Scroll2()", speed)
}
else {
text2 = " " + text2
setTimeout("Scroll()", speed);
}
}
function Scroll2() {
window.status = text2.substring(x, text2.length)
if (text2.length - x == text.length) {
text2 = text
x = 0
setTimeout("Scroll()", speed);
}
else {
x++
setTimeout("Scroll2()", speed);
}
}
Scroll()
//-->
</script>
onmouseover 鼠标放上去也状态栏内容不变
状态栏显示,状态栏显示内容,状态栏内容,状态栏
更多信息请查看IT技术专栏