View Full Version : Help To Close A Window
HELLO,
i'm not a FLASH writer
i make a bouton
and i can't make it close the window of the panorama
i can't use it to open a new page of my site
<spot static="1" salign="BC" staticX="-225" staticY="-40" url="images/retour.png" onClick="openUrl:plan.html"/>
the page is called plan.html
and what is the function to close a window ?
thanks
Stephmw
12-04-2007, 05:42 PM
Hi mano,
This is due to a slight typo in the codumentation, and your xml - easily fixed though:
<spot static="1" salign="BC" staticX="-225" staticY="-40"
url="images/retour.png"
onClick="openUrl(plan.html)"
/>
will open a new window on plan.html
I usually just replace the current contents with this, using the target parameter:
<spot static="1" salign="BC" staticX="-225" staticY="-40"
url="images/retour.png"
onClick="openUrl(plan.html,_self)"
/>
Hope this helps!
thanks Stephmw
it's ok to go to my page
but what should i do to close the window ?
Stephmw
12-07-2007, 08:58 AM
No, I don't - hopefully someone else will though!
It'll probably involve some small javascript (see elsewhere on this forum) that FPP can talk to to accomplish this.
cheathamlane
12-07-2007, 01:33 PM
thanks Stephmw
it's ok to go to my page
but what should i do to close the window ?
This is answered in your other post, I believe:
http://flashpanoramas.com/forum/showthread.php?t=727&highlight=close.window
Cheers,
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.