hidden iframe / cursor loading

F

fniyogi

Does anyone know how to suppress the "busy"/hourglass cursor that
appears when a frame/iframe is loading, as in the g() functon below:

<SCRIPT>
function g() {
if ( Math.floor(Math.random()*2) == 1 )
frames['god'].location.href = "http://www.yahoo.com";
else
frames['god'].location.href = "http://games.yahoo.com";
}
</SCRIPT>
<IFRAME ID='god' name='god' style="display:none" src=''></IFRAME><br>
<input id="cat" type=button onclick="g();" value="Change" />

Doing the simple things, like setting *.style.cursor = ... is not
working for me.

I need to do this for XML queries via hidden IFRAMEs, not for
displaying anything.
 
A

ASM

fniyogi said:
Does anyone know how to suppress the "busy"/hourglass cursor that
appears when a frame/iframe is loading, as in the g() functon below:

I need to do this for XML queries via hidden IFRAMEs, not for
displaying anything.

Displaying anything ? that means useless

I do not understand, if you make browser working
even in backside (or hidden)
why not advise visitor ?
 
C

Christopher J. Hahn

ASM said:
Displaying anything ? that means useless

Your computer's CPU processes billions of instructions as you're
browsing the web. Do you need to know about every single one?

The web application you're visiting might need to make ten queries to
the server to do what you need it to. Are those queries useless if
you're not aware of them?

They're only useless if they have no use.
 
C

Christopher J. Hahn

fniyogi said:
Does anyone know how to suppress the "busy"/hourglass cursor that
appears when a frame/iframe is loading, as in the g() functon below:

<SCRIPT>
function g() {
if ( Math.floor(Math.random()*2) == 1 )
frames['god'].location.href = "http://www.yahoo.com";
else
frames['god'].location.href = "http://games.yahoo.com";
}
</SCRIPT>
<IFRAME ID='god' name='god' style="display:none" src=''></IFRAME><br>
<input id="cat" type=button onclick="g();" value="Change" />

Doing the simple things, like setting *.style.cursor = ... is not
working for me.

I need to do this for XML queries via hidden IFRAMEs, not for
displaying anything.

I don't have a direct answer to your question, but I do have a
suggestion. Have you considered using XMLHTTPRequest (search the group
archives, TONS of info) instead of iframes?

Also, that visual feedback that tells the user that something's
happening might be a good thing if those queries actually change
something somewhere.
 
A

ASM

Christopher said:
Your computer's CPU processes billions of instructions as you're
browsing the web. Do you need to know about every single one?

I suppose that these XML Querries are launched from a visitor's action
The less to do is to advise browser heard him
And ... there are yet old computers at work today thinking slowly
so having a specific cursor telling you something appends
could help visitor to do not click several times same button.
The web application you're visiting might need to make ten queries to
the server to do what you need it to. Are those queries useless if
you're not aware of them?

of course visitor haven't really to know what is running
just to be advised (he has to wait)
 
S

Si Ballenger

I suppose that these XML Querries are launched from a visitor's action
The less to do is to advise browser heard him
And ... there are yet old computers at work today thinking slowly
so having a specific cursor telling you something appends
could help visitor to do not click several times same button.


of course visitor haven't really to know what is running
just to be advised (he has to wait)

Below is an example of a page using an iframe to prevent the java
pull video from being interrupted when a button is clicked to
change cams.

http://www.geocities.com/zoomkat/wc20000sw.htm
 
A

ASM

Si said:
Below is an example of a page using an iframe to prevent the java
pull video from being interrupted when a button is clicked to
change cams.

http://www.geocities.com/zoomkat/wc20000sw.htm

and ?

the start button starts the video
(I'm advised by status bar)

on re-start, I'ven't wait cursor (only status)
any way, wait cursor is not a trouble for me

That seems to work even if FF tells me there are some errors

Buttons CAM1, CAM2 ... look not working ?

hidden iframe not loaded ?
oh no !
only lazy and did stay at home

<IFRAME name=dummy
src="res://D:\WINDOWS\System32\shdoclc.dll/dnserror.htm" width=1
height=1> this will hold the html answer of the moves
</IFRAME>

or does it try to reach my DD ?
sory no Windows on my DD


fortunatly the popup with 4 cams works :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,072
Latest member
trafficcone

Latest Threads

Top