Current location: Hot Scripts Forums » General Web Coding » JavaScript » Showing Hour Glass in ie6.0


Showing Hour Glass in ie6.0

Reply
  #1 (permalink)  
Old 05-31-05, 12:16 AM
mahipal_rampally mahipal_rampally is offline
New Member
 
Join Date: May 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Showing Hour Glass in ie6.0

Hello Friends,
I want to show a hour glass while processing of my page is going on.
As ie6.0 is not showing it automatically.
I used (document.body.style.cursor="wait"on my onload event so that now it is showing me a hour glass.
But it is showing the same cursor style even after the page has been loaded.
Where should I write(document.body.style.cursor="default" so that it will show me default cursor after page loading.
Reply With Quote
  #2 (permalink)  
Old 06-02-05, 07:43 AM
TwoD TwoD is offline
Community VIP
 
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
Umm, the onload event fires AFTER the page has been completely loaded, or atleast it should, so that's where you should put the default cursor. Place the hourglass at the top of the header instead.
If that doesn't work, try this:
Code:
document.onreadyStateChange = function(){
 if(document.readyState=="complete"){
  document.body.style.cursor="default"
 }
}
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Time 0ne hour behind mikki ASP 2 12-20-04 03:28 PM
changings in showing results in php script korro PHP 6 11-20-04 11:54 AM
category not showing up jasong HotScripts Site Bug Reports 2 07-30-04 10:14 AM
A 24 hour dynamically random qt, real and wm playlist for website? dondo521 Script Requests 0 08-31-03 02:42 PM


All times are GMT -5. The time now is 10:48 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.