Yes, I'm new, and getting headaches trying to understand code.
I have a tour with hotspots...these hotspots display still images instead of loading a new pano. I want to use different sized images depending on the device. Here's what I'm doing...
Code
<layer url="martin.jpg" keep="true" name="martin" y="-10" align="center" x="0" state="small" accuracy="1" capture="false" visible="false" onclick="set(layer[martin].visible, false);" />if(device.mobile, martin.url="martin_sm.jpg" );if(device.tablet, martin.url="martin_sm.jpg" );
Where "martin.jpg" is the large image, and "martin_sm.jpg" is a smaller version.
I'm testing on an Android tablet, but the smaller image doesn't display, only the large one. I honestly don't know what to try next.
Thank you!