Hello there!
I'm struggling by defining URL's automatically with CALC action. My current code is:
Code
<style name="thumbstyle" attribute1="val1" attribute2="val2" ... attributen="valn" url="calc:'%HTMLPATH%/thumbs/' + name + '.png'"/>
<hotspot name="hs1" style="thumbstyle" attribute1="val1" attribute2="val2" ... attributen="valn"/>
<hotspot name="hs2" style="thumbstyle" attribute1="val1" attribute2="val2" ... attributen="valn"/>
<hotspot name="hs3" style="thumbstyle" attribute1="val1" attribute2="val2" ... attributen="valn"/>
<hotspot name="hs4" style="thumbstyle" attribute1="val1" attribute2="val2" ... attributen="valn"/>
<hotspot name="hs5" style="thumbstyle" attribute1="val1" attribute2="val2" ... attributen="valn"/>
But then I get a krpano report of URLs being defined as: "/thumbs/undefined.png"
So, my question is how to refer to a layer/hotspot name inside a "calc:" expression.
Thanks!
Luis