View Full Version : JavaScript redirect when Flash movie pops up?
zanex
02-16-2001, 03:44 PM
I've noticed some sites encorporate the use of a pop up window for their Flash movies, this I know how to do. Goto http://www.lasikplus.com, If you click on the enter flash button, the pop up movie plays and the page underneath is redirected to a thankyou page with a link back to the index.html page. How is this done? Whats the syntax?
Jesse
02-17-2001, 12:32 AM
If the button to launch is just a plain HTML or image based link you can use a standard link and move the javascript along.
So your link code would be:
<a href="thankyou.html" onMouseDown="window.Open line goes here">
So clicking will launch and redirect.
Cheers
Jesse
kingarturo
02-17-2001, 11:13 PM
Can this be also be done if you use a flash button?
Jesse
02-18-2001, 12:17 AM
I fyou use a flash button it isn't necessary because you can use 2 or more GetURL commands on the bone buttun. Once to call the javascript to spawn, and one to redirect the current page.
Cheers
Jesse
kingarturo
02-18-2001, 05:59 AM
Cool! Thanks Jesse.
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.