/    Sign up×
Community /Pin to ProfileBookmark

I need to hold a window in front.

Hey, heres what I need to do. I have a program that uses popups to change various aspects of the page, however, when that window is open, I would like it to stay on top, NOT in focus, but on top. So if you click on the back window it gains focus, but the popup remains in front. In Firefox this is accomplished by setting the “dialog” aspect to 1 or true in the window.open. Any ideas in IE.

to post a comment
JavaScript

6 Comments(s)

Copy linkTweet thisAlerts:
@blah1985authorJul 23.2005 — Any one got any Ideas?
Copy linkTweet thisAlerts:
@CompGeek01Jul 23.2005 — Don't think it's possible except maybe with activex? Although I'd keep looking. I don't know a lot. ?
Copy linkTweet thisAlerts:
@blah1985authorJul 24.2005 — I CAN control both windows, so I was thinking, like onFocus window.focus() but The effectivly locks the back window.
Copy linkTweet thisAlerts:
@blah1985authorAug 08.2005 — Anyone else got any Ideas?
Copy linkTweet thisAlerts:
@felgallAug 08.2005 — It can be done on Internet Explorer by opening a modal window. Other browsers don't support what you want to do. My page http://javascript.about.com/library/blmodal.htm shows how to create a window that is modal in IE and is as close to modal as is supported by other browsers.
Copy linkTweet thisAlerts:
@blah1985authorAug 09.2005 — GREAT suggestion, thanks
×

Success!

Help @blah1985 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.16,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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