467,074 Members | 899 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,074 developers. It's quick & easy.

hidden iframe / cursor loading

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.

Jul 23 '05 #1
  • viewed: 3534
Share:
6 Replies
ASM
fniyogi wrote:
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 ?

--
Stephane Moriaux et son [moins] vieux Mac
Jul 23 '05 #2
ASM wrote:
fniyogi wrote:
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


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.
I do not understand, if you make browser working
even in backside (or hidden)
why not advise visitor ?

--
Stephane Moriaux et son [moins] vieux Mac


Jul 23 '05 #3
fniyogi wrote:
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.

Jul 23 '05 #4
ASM
Christopher J. Hahn wrote:
ASM wrote:
fniyogi wrote:
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


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)

--
Stephane Moriaux et son [moins] vieux Mac
Jul 23 '05 #5
On Mon, 11 Jul 2005 10:48:29 +0200, ASM
<st*********************@wanadoo.fr> wrote:
Christopher J. Hahn wrote:
ASM wrote:
fniyogi wrote:

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


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)


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

Jul 23 '05 #6
ASM
Si Ballenger wrote:

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 :-)

--
Stephane Moriaux et son [moins] vieux Mac
Jul 23 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by jane | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.