View Issue Details

IDProjectCategoryView StatusLast Update
0000420Pano2VRHTML5 Skinpublic2012-02-13 12:08
Reportermartin 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
PlatformAllOSallOS Versionall
Product Version3.1.2 
Target Version3.1.3Fixed in Version3.1.3 
Summary0000420: To be able to toggle gyro from a skin action
Description

To be able to toggle, start/stop the gyro function from the skin editor without having to modify the skin.js file manually.
Reported in the forum:
http://gardengnomesoftware.com/forum/viewtopic.php?f=6&t=6994

TagsNo tags attached.
Documentation

Activities

thomas

thomas

2012-02-13 12:08

administrator   ~0000140

you can now add javascript code in the Goto URL action. To toogle the gyroscope simple add
javascript:gyro.toggle();
as the URL in the Goto URL action. To enable/disable the Gyro call:
javascript:gyro.enable();
javascript:gyro.disable();