Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

Hourglass not working

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>

Alla svar (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.