Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Hourglass not working

  • 1 trả lời
  • 2 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi 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>

Tất cả các câu trả lời (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.