You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Saturday, February 21st 2015, 11:23am

using diffrent hotspot styles for desktop and mobile

What is the code for getting a hotspot to use one style for viewing on desktop browser and another style on mobile/tablets. The aim is to get the larger scale for viewing on mobile/tablet being given the smaller screen size.



Posts: 3,208

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message


Saturday, February 21st 2015, 11:43am

well.. i like this one very much.

Source code

	<action name="mobile_stagescale" autorun="preinit" devices="mobile">
		mul(stagescale, 1.8);

but you can also do in the onloaded of the hotspot style

Source code

if(, mul(scale,2));

or so..

but also scale.desktop="1""2" is possible..

a lot of possibillities here

Tuur *thumbsup*


Saturday, February 21st 2015, 4:50pm

This is working great! Thank you so much. *thumbup*