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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set Focus to a Pop up Message

Status
Not open for further replies.

jazzz

Technical User
Feb 17, 2000
433
US
Here is the scenerio. I use the default Macromedia java script to open a New window when the user clicks a reference.

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}

if the user opens another window but then clicks back on the first one I want it to pop back on top. I know this is a simple question utilizing .focus() but I am a newbie to all this and could use the help.

Thanks in advance!

Life's a journey enjoy the ride...

jazzz
 
dont use .focus(), it will keep the window always on top (even if u switch to another application like windows explorer), the only way to effectively overcome this is to use a showModalDialog box...

Known is handfull, Unknown is worldfull
 
dont use .focus(), it will keep the window always on top (even if u switch to another application like windows explorer), the only way to effectively overcome this is to use a showModalDialog box...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top