on everpano_UI code section inside "Main. xml" the fullscreen toggle is part of the the whole encrypted code. Is there any way to put it separately from UI? just like WebVR stands independently (you can activate/deactivate to suit your need). This is just the thought
Fullscreen toggle
-
-
Have a look here:
https://krpano.com/docu/actions/#fullscreenTuur
-
Thanks Tuur!
Though i'm not very clever at xml stuff, I came up with this code:
Code<layer name="fullscreen" keep="true" url="res/icon_fullscreen.png" align="rightbottom" x="18" y="18" alpha="0.3" scale="0.5" onover="tween(alpha,1.0);" onout="tween(alpha,0.3);" ondown.touch="onover();" onup.touch="onout();" crop="0|0|64|64" onclick="toggle(fullscreen); switch(crop, 0|0|64|64, 0|64|64|64); );" />
It works perfectly!
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!