CodeAnt
03-14-2003, 06:00 AM
I am working on a site with lots of photos. I decided not to put the photos in the Flash embedded html page, instead I want the links to spawn Popup windows with photo gallery's. I don't want scroll bar/toolbar etc. in this new window.
I have the script working, well sort of! It will spawn the new window and have it look exactly how I want. The problem is once any of these new windows have been spawned (even once) the rest of the links on the site will not work. It continues to only play this part of the flash movie.
Please go here to see what I mean http://www.geoffdolan.com/flash
Go to gallery and choose any of the links and drill down until a popup window is generated. You will see what I mean.
I can post the fla file if it helps. The following is the code that i have on the button:
on (press) {
uUrl = "http://www.geoffdolan.com/HTML/Competition/2001/AprilASC.htm";
wdth = "500";
hdth = "575";
getURL("javascript:window.open('" add uUrl add " ','nName','width=" add wdth add ",height=" add hdth add ",top='+((screen.availHeight/2)-(" add hdth/2 add "))+',left='+((screen.availWidth/2)-(" add wdth/2 add "))); void(0);");
}
Thanks in advance
I have the script working, well sort of! It will spawn the new window and have it look exactly how I want. The problem is once any of these new windows have been spawned (even once) the rest of the links on the site will not work. It continues to only play this part of the flash movie.
Please go here to see what I mean http://www.geoffdolan.com/flash
Go to gallery and choose any of the links and drill down until a popup window is generated. You will see what I mean.
I can post the fla file if it helps. The following is the code that i have on the button:
on (press) {
uUrl = "http://www.geoffdolan.com/HTML/Competition/2001/AprilASC.htm";
wdth = "500";
hdth = "575";
getURL("javascript:window.open('" add uUrl add " ','nName','width=" add wdth add ",height=" add hdth add ",top='+((screen.availHeight/2)-(" add hdth/2 add "))+',left='+((screen.availWidth/2)-(" add wdth/2 add "))); void(0);");
}
Thanks in advance