Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New Browser Window Allways on Top

Status
Not open for further replies.

madret

Programmer
Joined
Dec 15, 2000
Messages
3
Location
PT
I have a set of thumbnail images, when I click on each of them a New Browser window opens in a certain size and place and so on (did it with java script's NewWin command)...

My Problem is : I would like that the NEW windows would stay allways on top of the Main Browser window, so when i click another thumbnail, the New window doesn´t disapear...

If anyone could help me, it would be great-Thanks
 
I´m sorry but i´m a really beginner in java script.
I tried a lot of stuf but I couldn't get it....
Maybe you could show me a script, or a link, os some more tips...



Thanks anyway
 
function openwin()
{
newwin = window.open(URL,name,attributes);
newwin.onblur = focus;
}
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
I was having some problems to put it to work, but
finally did it:

I just had to use this JavaScript

window.onblur=focus

but to the target windows.

Thank you for your help. It Works perfectly.

 
window.onblur=focus works well, if you have no
form controls (e.g. text, select, ...) in the body, else you cant fill out the form.

Does anybody know a workaround?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top