Hi…
Can anyone help me with a strange problem?
I did a site for a friend and there was some js involved.
He noticed yesterday that in Firefox the browser had the “Transffering from…” message in the status bar even after the page has loaded. After a while it switches to a Waiting for message… which eventually goes away after a while. Also the Stop button is disabled and I know for sure that all the content is loaded.
So i started digging in the code, as he said the server logs don’t give any info and the problem must be client-side.
What I noticed was that the preload function, called by the onLoad event of the body tag was causing this in some way. Removing the call to the function or leaving the function empty makes the browser display Done in the status bar as soon as the content is loaded.
The js was used mainly for a roll-over and hide/display effect. Quite classical. After doing the above I noticed that even with the preload function taken out of the loop if you hover over the buttons the same problem re-appears, the browser appears to be still looking for some content.
You can view this [url=http://ker.ro/~puiub/bluewire/site/en/index.shtml]here[url=http://ker.ro/~puiub/bluewire/site/en/script.js]here
You can view the version that works fine(well, untill hovering the buttons) [url=http://cripkd.ker.ro/puiu/bw-online/en/test.html]here[url=http://cripkd.ker.ro/puiu/bw-online/en/script.js]here
Can someone point out the bad code? ?
Thanks.
Curiously yours, crip