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.
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
![]() |
Source code |
1 2 3 4 |
function down_img() { alert ("Hello World!"); } |
![]() |
Source code |
1 |
<script src="../js/script.js"></script> |
![]() |
Source code |
1 |
<layer name="skin_btn_img" style="skin_img|skin_tooltips" tooltip="JPG Snapshot" align="left" x="125" y="0" scale="0.5" onclick="js(down_img());" devices="html5" /> |
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
![]() |
Source code |
1 2 3 4 5 |
<action name="test" type="Javascript" autorun=""> <![CDATA[ alert("Cheers from Holland"); ]]> </action> |
This post has been edited 1 times, last edit by "Tuur" (Mar 18th 2016, 2:51pm)
![]() |
Source code |
1 2 3 4 5 |
<action name="down_img" type="Javascript" autorun=""> <![CDATA[ alert('cheers'); ]]> </action> |
![]() |
Source code |
1 |
onclick="down_img();" |
![]() |
Source code |
1 2 3 4 5 |
<action name="down_img" type="Javascript" autorun=""> <![CDATA[ alert(args[1]); ]]> </action> |
![]() |
Source code |
1 |
onclick="down_img(cheers);" |
![]() |
Source code |
1 |
onclick="down_img();" |
![]() |
Source code |
1 2 3 4 5 6 |
<action name="down_img" type="Javascript" autorun=""> <![CDATA[ var poptext="cheers"; popup(poptext); ]]> </action> |
![]() |
Source code |
1 2 3 4 5 |
<action name="popup" type="Javascript" autorun=""> <![CDATA[ alert(args[1]); ]]> </action> |
This post has been edited 1 times, last edit by "LMB" (Mar 19th 2016, 2:40pm)
![]() |
Source code |
1 |
onclick="down_img();" |
![]() |
Source code |
1 2 3 4 5 6 7 8 9 |
<action name="down_img" type="Javascript" autorun=""> <![CDATA[ popup('cheers'); function popup(txt){ alert(txt); } ]]> </action> |
![]() |
Source code |
1 |
<span id="Button" class="myButton" onclick="actionFunction();">buttontest</span> |
![]() |
Source code |
1 2 3 4 5 |
<action name="actionFunction" type="Javascript" autorun=""> <![CDATA[ alert('hello'); ]]> </action> |
![]() |
Source code |
1 2 3 |
<action name="do_something"> ... </action> |
![]() |
Source code |
1 |
<span ... onclick="document.getElementById("krpanoSWFObject").call('do_something()');">...</span> |
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<action name="my_hidden_js_functions" type="Javascript" autorun="preinit"><![DATA[ window.do_something = function() { ... } window.do_something_else = function() { ... } ]]></action> |
![]() |
Source code |
1 |
<span ... onclick="do_something();">...</span> |
This post has been edited 2 times, last edit by "LMB" (Mar 21st 2016, 9:12pm)