Hi there peeps
I'm having some trouble with my scrolling stats bar exercise. Please could someone help me out.
I use Internet Explorer 7
I have created an index.html file that calls on my .js file. Just like calling a regular css file. Here is the code.
//Plain text in browser status bar
//window.defaultStatus = "Welcome to my assignment 2 page"
//var msg = "And this is the second text line"
//Rotating text in status bar
var msg = "Come visit me in the zoo"
function showMsg()
{
window.status = msg
msg = msg.string (1, msg.length) + msg.substring(0,1)
scrollmsgid = setTimeout ("showMsg()",150)
}
The first two commented out functions (Bold Text) work perfectly but the following ones don't work at all. Any suggestions?
www.phpart.co.za
www.busstech.com