shwami
02-16-2009, 07:40 PM
Hi All,
I am implementing a menu with thumbnails of all related panoramas in my virtual tour. I want the hotspots to function such that:
1. when i click on any thumb, it loads the linked panaroma.
2. thumb gets disabled till a new panorama is loaded.
I show and hide the thumbnails using two hotspots for show and hide.
will really appreciate any help.
here is my code:
<spot id="show_top" static="1" salign="RT" staticX="-85" staticY="15" url="image/show_top.png"
onClick="show_top.visible=0;close_top.visible=1; toggleThumbs()"
/>
<spot id="close_top" visible="0" static="1" salign="RT" staticX="-85" staticY="15" url="image/close_top.png"
onClick="close_top.visible=0;show_top.visible=1; toggleThumbs()"
/>
<spot id="thumb_1" visible="0" static="1" salign="RT" staticX="-65" staticY="70" url="image/reception_bt.png" blockMouse="1"
onClick="loadPano(image/reception.swf)"
/>
<spot id="thumb_2" visible="0" static="1" salign="RT" staticX="-65" staticY="130" url="image/breakout_bt.png" blockMouse="1"
onClick="loadPano(image/breakout.swf)"
/>
cheers!
Siddharth
I am implementing a menu with thumbnails of all related panoramas in my virtual tour. I want the hotspots to function such that:
1. when i click on any thumb, it loads the linked panaroma.
2. thumb gets disabled till a new panorama is loaded.
I show and hide the thumbnails using two hotspots for show and hide.
will really appreciate any help.
here is my code:
<spot id="show_top" static="1" salign="RT" staticX="-85" staticY="15" url="image/show_top.png"
onClick="show_top.visible=0;close_top.visible=1; toggleThumbs()"
/>
<spot id="close_top" visible="0" static="1" salign="RT" staticX="-85" staticY="15" url="image/close_top.png"
onClick="close_top.visible=0;show_top.visible=1; toggleThumbs()"
/>
<spot id="thumb_1" visible="0" static="1" salign="RT" staticX="-65" staticY="70" url="image/reception_bt.png" blockMouse="1"
onClick="loadPano(image/reception.swf)"
/>
<spot id="thumb_2" visible="0" static="1" salign="RT" staticX="-65" staticY="130" url="image/breakout_bt.png" blockMouse="1"
onClick="loadPano(image/breakout.swf)"
/>
cheers!
Siddharth