Hourglass not working
I am using the following JAVASCRIPT which generates an hourglass while a form is loaded. At the bottom of the page (after the form is loaded), I turn off the hourglass.
The hourglass functionality works in IE and Chrome but not Firefox 3.6.12.
Does anyone know a workaround or a solution?
Code: /*header stuff goes here*/ <script language="javascript" type="text/javascript"> <!-- function HourglassOn() { document.body.style.cursor = 'wait'; } function HourglassOff() { document.body.style.cursor = "default"; } // --> </script> <script language="javascript" type="text/javascript"> <!-- window.onload=HourglassOn(); // --> </script> /* stuff to do while page loads goes here*/ <script language="javascript" type="text/javascript"> <!-- window.onload=HourglassOff(); // --> </script>
Alle Antworten (1)
Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
http://forums.mozillazine.org/viewforum.php?f=25
You'll need to register and login to be able to post in that forum.