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

making popup active 1

Status
Not open for further replies.

math

Programmer
Mar 21, 2001
56
BE
hi,

I have a button (in flash) that opens a pop-up with a picture inside... There are multiple buttons (for multiple pictures) but when the user clicks on the main-window, the pop-up disapears to the background and even when the users clicks one of the buttons again, the right picture is loaded but the pop-up is still hidden... Ofcourse the pop-up window can be found on the Windows start-bar but I would like the pop-up to become active when it's loaded... Is there some command for this??
Code:
JavaScript:PopUp("index.html","Newwin", OPTIONS)
Is there an option that I can address? or some other command to get "Newwin" active?

THANX IN ADVANCE,
math
 
Try opening the window with a funtion like:

javascript:eek:penNew(url)

function openNew(url){
var x = window.open(url, 'newWindow', OPTIONS);
x.focus();
}

so that you can add that extra line there to give the pop up focus.

:)
Paul Prewett
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top