/    Sign up×
Community /Pin to ProfileBookmark

Need to display a wait cursor

I ve a problem. I ve to show a wait cursor on the window untill the 2nd window(comes when a hyperlink is clicked) is loaded.
can somebody give me any idea how to do this ?

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@A1ien51Nov 27.2006 — document.body.style.cursor = "wait";

onload of the child

window.opener.body.style.cursor = "default";

Eric
Copy linkTweet thisAlerts:
@gandabachaauthorNov 28.2006 — i have two seprate windows oppened... can wwe share the document object across windows?? i mean wen the link is clicked... it opens a new window. can we use the same code for other window?
×

Success!

Help @gandabacha spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...