is there anyway to use the spinning mouse pointer to show between page loads? i have this code to put in my css file <style type="text/css"> .wait { cursor: wait } </style> Code (markup): but how do you get the pointer to spin when you load different pages?
Add it to the body tag: http://www.echoecho.com/csscursors.htm Look for the section about "REDEFINING THE CURSOR FOR ENTIRE PAGES" (Sorry for the CAPS. It's copy and paste) Hope this helps, -drmike edit: Now that I reread that page, the next section would probably be better: "REDEFINING THE CURSOR FOR AREAS ON A PAGE" Just put the whole page within that span. Plus the body example appears not to work in Firefox for some reason.
I tired the example at it didnt work, or its possible the page loads to quick to show the mouse pointer spinning.
It's customary to provide a link so we can see what's occurring when you say you;ve tried something and it didn't work. Else all we can do is make guesses.
sorry but its a fb app in sandbox mode so you wouldn't be able to see it even if i gave you the link, but i appreciate your response and help. Regards.
What do you mean by spinning mouse pointer? Do you mean the blue circle that spins when a new page is loading or A mouse pointer that spins around?
yes the mouse pointer, i want it to emulate the blue spinning circle you get when the page is loading
Put the contents of the page in a <div> with the following style code: div#container { cursor: wait; } Code (markup): Then use something like this at the end of the page (before the </body> tag) to revert the cursor: <script type="text/javascript"> document.getElementById('container').style.cursor = ''; </script> Code (markup): If you're doing this to lots of pages, I'd suggest putting the JS code into a function to make it easier to maintain. I haven't tested this either, but it should work
Thanks, i have had some success with this, i can get it to spin, but it wont stop spinning, as its a fb app, there is no body tags so i tried adding the js code just outside the closing div tag for the container, but it doesnt seem to stop the pointer spinning.
Been playing, I came up with this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <style type="text/css"> body { cursor: wait; } </style> <script type="text/javascript"><!-- function NormaliseCursor() { document.body.style.cursor = 'auto'; } //--></script> </head> <body> <p>Click <a href="javascript:NormaliseCursor()">here</a> to disable the cursor.</p> </body> </html> Code (markup):