LunaSidhe
April 4th, 2001, 03:06 PM
This script works fine in IE and Netscape in versions of Windows before 2000, but breaks in this particular version. The error I get is that there was a semicolon expected. As far as I can tell, that's not what the problem really is.
Could someone take a look at this and see what I'm doing wrong? Thanks!
On a side note, the script works about 2% of the time, seemingly random. (?)
---
gfx0="http://www.josienutter.com/images/josiebtn_ani.gif";
lnk0="http://www.josienutter.com/";
alt0="josienutter.com";
len=1;
today=new Date();
today=today.getTime()/10;
rnd=today%len;
document.writeln('<a href=\"'+eval("lnk"+rnd)+'\" target=\"_blank\"><img src=\"'+eval("gfx"+rnd)+'\" alt=\"'+eval("alt"+rnd)+'\" border=\"0\">');
Could someone take a look at this and see what I'm doing wrong? Thanks!
On a side note, the script works about 2% of the time, seemingly random. (?)
---
gfx0="http://www.josienutter.com/images/josiebtn_ani.gif";
lnk0="http://www.josienutter.com/";
alt0="josienutter.com";
len=1;
today=new Date();
today=today.getTime()/10;
rnd=today%len;
document.writeln('<a href=\"'+eval("lnk"+rnd)+'\" target=\"_blank\"><img src=\"'+eval("gfx"+rnd)+'\" alt=\"'+eval("alt"+rnd)+'\" border=\"0\">');