Hello everyone
!
First a little self-advertizement: I GRATUATED HIGH SCHOOL AND I GOT INTO THE TECHNICAL UNIVERSITY !!!
. (Sorry about that
, I just couldn't stop myself
). Now to the point: I'm learning Javascript and I wanted to try my first script: a cool message in the status bar
. The stuff works on my offline test page at home, but when I uploaded it on the site, the status bar remained empty
. Can anyone tell me what's the reason? Just in case you need it, here's the code:
myMsg="Hahaha ... see me laugh in the status bar >:D "
i=0
function scrollMsg() {
window.status = myMsg.substring(i,myMsg.length) + myMsg.substring(0,i-1)
// window.status=myMsg.substring(0,i)
// window.status = myMsg.substring(i,myMsg.length)
if (i < myMsg.length) {
i++
}
else{
i=0
}
setTimeout("scrollMsg()",200)
}
-->
</script>
<link href="viperiocss.css" rel="stylesheet" type="text/css">
</head>
<body onLoad="scrollMsg()">
I hope to hear your opinion
soon.
Bye for now
.