Buscar en Ayuda

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Hourglass not working

  • 1 respuesta
  • 2 tienen este problema
  • 1 visita
  • Última respuesta de the-edmeister

more options

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>

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: <html> <head> /*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> </head> <body> <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> </body> </html>

Todas las respuestas (1)

more options

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.