jfrancais
09-16-2004, 05:40 PM
I have a simple website javascript that I wrote that grabs a random value (a couple actually, for a random quote generator) from an array and does a document.write when the page is loaded. It works great and I have used it for a long time without problem. I recently upgraded my machine to xp sp2 and now the document.write fails when it is loaded for the first time in the frame of a site. If I right click in the frame and hit refresh, the document.write then works. If I copy the url and paste it in a browser window, it works fine. It only seems to fail when the page loaded the first time in a frame. I have the same problem on other sites. Is this a bug in XP SP2?
here is the page that fails:
http://lemonfresh.ca (framed site)
and here is the URL of the page inside the frame
http://members.shaw.ca/j.francais/lemonfresh/ (the sub frame url)
Can anyone assist?
Thanks in advance,
Jared
here is the page that fails:
http://lemonfresh.ca (framed site)
and here is the URL of the page inside the frame
http://members.shaw.ca/j.francais/lemonfresh/ (the sub frame url)
Can anyone assist?
Thanks in advance,
Jared