Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

Hourglass not working

  • 1 Antwort
  • 2 haben dieses Problem
  • 1 Aufruf
  • Letzte Antwort von 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>

Alle Antworten (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.