shadowprince
03-22-2003, 11:55 AM
Hello all javascript coders, I am requesting help on the Slideshow Javascript it will not work and I don't know where to start to find a problem, please help thank you....
|
Click to See Complete Forum and Search --> : Requesting Help on Slideshow JavaScript shadowprince 03-22-2003, 11:55 AM Hello all javascript coders, I am requesting help on the Slideshow Javascript it will not work and I don't know where to start to find a problem, please help thank you.... shadowprince 03-22-2003, 12:03 PM here is the intial Code I have, can anyone tell me whats going wrong? <html> <head> <title>Untitled</title> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin var background = "black"; var text = "red"; var URL = "http://www.geocities.com/theomega_flame/home.html"; var speed = 4000; // time in milliseconds (4000 = 4 secs) var msgcount = 5; var i = 1; var blank = " "; function StringArray (n) { this.length = n; for (var x = 1; x <= n; x++) { this[x] = ' '; } } message = new StringArray(msgcount); message[1] = "Good day, How yeah doin,"; message[2] = "When I'm singing this song to you,"; message[3] = "Don't waste, waste your breath,"; message[4] = "And I won't waste my HATE on you...."; message[5] = "Wasting My Hate by: Metallica"; message[6] = "Welcome to The Band Page"; function Slide() { slidepage = '<body bgcolor='+background+'>' + '<center><table border=0 ' + 'height=100%><tr><td><center><b><font ' + 'color='+text+' size=6>'+message[i]+'</font></b>' + '</center></td></tr></table></center></body>'; if (i == message.length + 1) parent.location = URL; if (i < message.length + 1) { frames['slideshow'].location = "http://www.geocities.com/theomega_flame/index.html"; i++; setTimeout("Slide()",speed); } } // End --> </script> </head> <body> <frameset border="0" rows="100%,*" onload="Slide()"> <frame name="slideshow" src="http://www.geocities.com/theomega_flame/index.html"> </frameset> </body> </html> Please help webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |