Hi all, and of course our master, Klaus. :)
I have a problem with one of my buttons. The code below doesn't change the button like it should..?
Code
<plugin name="rotate"
url="buttons/btn_stop.png"
align="bottom"
edge="center"
y="30" x="90"
onhover="showtext(Pysäytä automaattinen pyöriminen / Jatka pyörimistä)"
blendmode="screen"
onclick="switch(plugin[rotate].url,buttons/btn_stop.png,buttons/btn_rotate.png);switch(autorotate.enabled);"
onover="set(plugin[rotate].blendmode,add);"
onout="set(plugin[rotate].blendmode,screen);"
keep="true"
alpha="0.7"
width="40"
height="prop" />
Display More
To be precise:
It stops the autorotate as it should but the button url changing doesn't work. Have I done something wrong? :)
Here's the pano url: http://panoraamakuvat.fi/kuvat/turku/ko…rtuaaliesittely
And the XML:
http://panoraamakuvat.fi/asiakkaat/Jyrk…ly_20090625.xml
Note: The plugin rotate is in this file:
http://panoraamakuvat.fi/asiakkaat/panoraamakuvatfi.xml
I'm using the latest beta, build 15.6.2009, 1.0.8b8
EDIT 29.06.2009:
the URLs above has got currenlty an alternative solution. The problem URLs are here:
http://panoraamakuvat.fi/kuvat/krpano/button-switch-problem