Welcome to WebmasterWorld Guest from 54.166.87.123

Forum Moderators: open

Message Too Old, No Replies

Opera 7.5 javascript onload

being cached incorrectly?

   
2:30 pm on Jun 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have a weird problem with Opera 7.5.

I have a window.onload function being called, but the results of the onload (boxes being disabled if certain conditions apply) are only being correctly shown randomly. If you refresh the page 5 or 6 times, the onload function will correctly work, then if you refresh again, it won't work for another 5 or 6 tries (the number of refreshes is never the same).

The javascript code itself is fine (it works on both IE 6.0, and even Netscape 6.2). It just doesn't work on Opera 7.5.

Has anyone else seen this issue? Does Opera have any window.onload restrictions, or caching issues, or anything else? I'm stumped.

-Matt

p.s. I have all the caching options in History & Cache turned off in Opera.

2:29 am on Jun 5, 2004 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



boxes being disabled if certain conditions apply

Version 7.23 had some (intermittent) bugs with forms and refresh [webmasterworld.com]. I haven't run into them yet with v 7.5, but it wouldn't surprise me if they carried over in the new version and are affecting your script's performance.

Certainly, that's what your report sounds like. And the intermittent character makes this kind of bug very challenging to describe or work around.