Fantastic Sacha, I've never come across that code before. I added these three to my tour.xml (the desktop is just for testing) and both tablets display great. No messing around with additional styles etc.
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
|
<action name="mobilescale" autorun="preinit" devices="ipad">
mul(stagescale,0.7);
</action>
<action name="mobilescale" autorun="preinit" devices="android">
mul(stagescale,2.0);
</action>
<action name="mobilescale" autorun="preinit" devices="desktop">
mul(stagescale,0.7);
</action>
|
Many thanks for that, saved me loads of time which I can now use for adding new tour features.
Andrew