It worked , Thanx a lot.
> Don't call:
document.body.style.cursor =3D "default";
in the function right after you've changed the src for the other frame.
Instead, use an onLoad event handler in the MyFrame frame, as in:
window.onload =3D function (){
parent.firstFrame.document.body.style.cursor =3D "default";
}
/Robert
-----Original Message-----
From: Nagu [mailto:nagujain@r...]=20
Sent: den 3 mars 2003 10:28
To: javascript
Subject: [javascript] RE: cursor style not changing when running from
the frameset!!!!!
Hi,
I have tried this and able to change the cursor style ,
part of the code which calls the "Myprog.html" looks like this,
function Myfunct()
{
document.body.style.cursor =3D "wait";
parent.Myframe.location.href('Myprog.html");
document.body.style.cursor =3D "default";
}
before the Myprog.html displays the results in the second frame, the
cursor style in the first frame is chenged to "default"...
is it because of the way i'm calling the Myprog.html ???
do guide me if there is some other way of doin the same.
Thanx in advance,
Nagarathna.
> parent.Myframe.document.body.style.cursor =3D3D "wait";
/Robert
-----Original Message-----
From: Nagu [mailto:nagujain@r...]=3D20
Sent: den 3 mars 2003 08:47
To: javascript
Subject: [javascript] cursor style not changing when running from the
frameset!!!!!
Hi,
how do i change thecusrsor style in the first frame when some processing
is happing in first frame to display the result in the second frame.
i'm using=3D20
parent.Myframe.location.href('Myprog.html");
to do the same.
can any body help me out with this????
Thanx,
Nagarathna.
---
Change your mail options at http://p2p.wrox.com/manager.asp or=3D20 to
unsubscribe send a blank email to
---
Change your mail options at http://p2p.wrox.com/manager.asp or=20
to unsubscribe send a blank email to