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

bring window to front 1

Status
Not open for further replies.

greengrassbrian

Technical User
Mar 26, 2004
33
US
is there a flash script or html code that will bring up a popup window to the front?

example:
a user has a web browser full screen and clicks a link to a video that pops up in its own window. after seeing the video the user continues to browse the original site which places popup in the background.

problem: currently the user sees a second video, clicks on it and it plays in the popup window in the background, so he hears it, but doesn't see it, even though it is playing.

-i do not want multiple popup windows as a solution, so if there is code or script please let me know....

many thanks!!

 
Each time you load a new file in the popup, give focus to the popup.
 
Javascript!

How are you opening (what's your code) the first video?
 
i'm using the popup windows extension in flash which uses javascript, but there's nothing about giving focus to the window....is it an easy line of script?
 
ahh, that's perfect....sorry 'bout not supplying the code--it was similar to what this site gives, minus the 'focus' property, many thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top