Dear Klaus & Krpano Community,
I have been working with krpano for over 1.5 years and what
a pleasure it has been thus far. Klaus-
it is an absolute joy to work with your code. Thank you to everyone who
contributes in this forum, it is a great resource and a wonderful visual portal
to the rest of this world.
I am having difficulty using Javascript and Krpano together.
I am a noob with JS- however it is one of my top priorities to learn. I would
greatly appreciate any help in this issue. I apologize in advance if I ask any
noobish questions.
I have this hotspot:
XML
Code
<hotspot
name="spot0" onclick="closeallobjects();if(flying == 1.0,
flyback(spot0), flyout(spot0) );" url="???" onloaded="???"
distorted="true" ath="44.0311" atv="-5.2106"
width="84" height="8" flying_width="728"
flying_height="90" backup_width="84" backup_height="8"
flying="0" backup_rx="20.4057"
backup_ry="0.409675" backup_rz="-2.24183"
rx="20.4057" ry="0.409675" rz="-2.24183"/>
I am trying to get the image url to load dynamically via
javascript.
Here is the javascript:
JS
Code
");
//]]>--><a<br>href='http://d1.openx.org/ck.php?n=a37bf9fc&amp;cb=INSERT_RANDOM_NUMBER_HERE'<br>target='_blank'><img<br>src='http://d1.openx.org/avw.php?zoneid=257943&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a37bf9fc'<br>border='0' alt='' /></a>
I have tried many routes to no avail, does anyone have any
insite?
Thanks!