Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<krpano version="1.0.8.14" onstart="startup();"> <action name="startup"> sethotspotlinks(); </action> <hotspot name="hotspot1" onclick="" /> <hotspot name="hotspot2" onclick="" /> <action name="sethotspotlinks"> set(hotspot1[onclick].openurl('http://www.eboovisite.com', _self); set(hotspot2[onclick].openurl('http://www.eboovisite.com/iPhone',_self); </action> |
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
<krpano version="1.0.8.14" onstart="startup();"> <action name="startup"> sethotspotlinks(); </action> <hotspot name="hotspot1" onover="action(show_hotspot_hover, hotspot1, img/hotspot1_hover.png); onout="action(hide_hotspot_hover, hotspot1); onclick="" /> <hotspot name="hotspot2" onover="action(show_hotspot_hover, hotspot2, img/hotspot1_hover.png); onout="action(hide_hotspot_hover, hotspot2); onclick="" /> <action name="show_hotspot_hover"> set(plugin[hotspot_hover].parent, hotspot[%1]); set(plugin[hotspot_hover].url, %2); set(plugin[hotspot_hover].visible, true); tween(plugin[hotspot_hover].alpha, 1.0, 1.0, easeOutCubic); </action> <action name="hide_hotspot_hover"> set(plugin[hotspot_hover].visible, false); tween(plugin[hotspot_hover].alpha, 0.0, 1.0, easeOutCubic); </action> <action name="sethotspotlinks"> set(hotspot[hotspot1].onclick,'openurl(http://www.eboovisite.com, _self)'); set(hotspot[hotspot2].onclick,'openurl(http://www.eboovisite.com, _self)'); </action> |
![]() |
Source code |
1 |
copy(hospot[hotspot1].onclick, plugin[hotspot_hover].onclick()); |
![]() |
Source code |
1 2 3 4 |
if(hotspot[hotspot_hover].parent, hotspot1, set(plugin[hotspot_hover].onclick, get(hotspot[hotspot1].onclick ) ); ); if... |
![]() |
Source code |
1 |
set(plugin[hotspot_hover].onclick, get(hotspto[hotspot_hover].parent, onclick ) ); |
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
<action name="sethotspotlinks"> set(hotspot[hotspot1].onclick,'openurl(http://www.eboovisite.com, _self)'); set(hotspot[hotspot2].onclick,'openurl(http://www.eboovisite.com, _self)'); set(hotspot[hotspot3].onclick,'openurl(http://www.eboovisite.com, _self)'); set(hotspot[hotspot4].onclick,'openurl(http://www.eboovisite.com, _self)'); set(hotspot[hotspot5].onclick,'openurl(http://www.eboovisite.com, _self)'); set(hotspot[hotspot6].onclick,'openurl(http://www.eboovisite.com, _self)'); set(hotspot[hotspot7].onclick,'openurl(http://www.eboovisite.com, _self)'); set(hotspot[hotspot8].onclick,'openurl(http://www.eboovisite.com, _self)'); set(hotspot[hotspot9].onclick,'openurl(http://www.eboovisite.com, _self)'); if(hotspot[hotspot_hover].parent, hotspot1, set(plugin[hotspot_hover].onclick, 'openurl(http://www.eboovisite.com, _self)'); ); if(hotspot[hotspot_hover].parent, hotspot2, set(plugin[hotspot_hover].onclick, 'openurl(http://www.eboovisite.com, _self)'); ); if(hotspot[hotspot_hover].parent, hotspot3, set(plugin[hotspot_hover].onclick, 'openurl(http://www.eboovisite.com, _self)'); ); if(hotspot[hotspot_hover].parent, hotspot4, set(plugin[hotspot_hover].onclick, 'openurl(http://www.eboovisite.com, _self)'); ); if(hotspot[hotspot_hover].parent, hotspot5, set(plugin[hotspot_hover].onclick, 'openurl(http://www.eboovisite.com, _self)'); ); if(hotspot[hotspot_hover].parent, hotspot6, set(plugin[hotspot_hover].onclick, 'openurl(http://www.eboovisite.com, _self)'); ); if(hotspot[hotspot_hover].parent, hotspot7, set(plugin[hotspot_hover].onclick, 'openurl(http://www.eboovisite.com, _self)'); ); if(hotspot[hotspot_hover].parent, hotspot8, set(plugin[hotspot_hover].onclick, 'openurl(http://www.eboovisite.com, _self)'); ); if(hotspot[hotspot_hover].parent, hotspot9, set(plugin[hotspot_hover].onclick, 'openurl(http://www.eboovisite.com, _self)'); ); </action> |
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
<hotspot name="hotspot2" onover="action(show_hotspot_hover, img/hotspot1_hover.png); onout="action(hide_hotspot_hover); onclick="" /> <action name="show_hotspot_hover"> set(plugin[hotspot_hover].parent, hotspot[get(name)]); set(plugin[hotspot_hover].url, %1); set(plugin[hotspot_hover].visible, true); copy(plugin[hotspot_hover].onclick, hotspot[get(name)].onclick); tween(plugin[hotspot_hover].alpha, 1.0, 1.0, easeOutCubic); </action> <action name="hide_hotspot_hover"> set(plugin[hotspot_hover].visible, false); tween(plugin[hotspot_hover].alpha, 0.0, 1.0, easeOutCubic); </action> <action name="sethotspotlinks"> set(hotspot[hotspot1].onclick,'openurl(http://www.eboovisite.com, _self)'); set(hotspot[hotspot2].onclick,'openurl(http://www.eboovisite.com, _self)'); </action> |
![]() |
Source code |
1 |
set(plugin[hotspot_hover].parent, hotspot[get(name)]); |
![]() |
Source code |
1 |
set(plugin[hotspot_hover].parent, get(name) ); |
This post has been edited 1 times, last edit by "Yomas" (Dec 12th 2011, 1:27pm)
![]() |
Source code |
1 |
set(plugin[hotspot_hover].parent, hotspot[get(name)]); |