Hi Guys,
I'm trying to automate a process to link each pano to several social networks like facebook, twitter, etc.
Here is what i have now:
Code
<plugin name="facebook" keep="false" url="icon-facebook.png"
align="bottom left" edge="bottom left" x="80" y="12" scale="0.13" alpha="1"
onhover="tween(scale,0.15,0.1); showtext(Facebook, text)"
onout="tween(scale,0.13,0.1);"
onclick="url(window.location='http://www.facebook.com/sharer.php?u=http://www.MYDOMAIN.com/MYPANO.html)"
zorder="100"
/>
Same for myspace:
Code
<plugin name="myspace" keep="false" url="icon-myspace.png"
align="bottom left" edge="bottom left" x="160" y="12" scale="0.13" alpha="1"
onhover="tween(scale,0.15,0.1); showtext(Myspace, texto)"
onout="tween(scale,0.13,0.1);"
onclick="url(http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.MYDOMAIN.com/MYPANO.html )"
zorder="100"
/>
How can I automate the process in order to have krpano get my actual web adress and keep the same code to every xml i make?
Thanks in advance!
Daniel