Simple Request for dragging help...
I have a menu tab setup as a scrollarea. I want to be able to drag it down from the top, and push it back. So far, everything I've tried only lets me pull it down and it automatically Snaps back.
I haven't yet wrapped my head around how this thing is setup.
The menu tab is image 258x51, the tab extension is image 258x4 (stretched to any length).
Code
<krpano onstart="loadscene(pano1,null,MERGE);">
<!-- adjust the examples backbutton position (if available) -->
<layer name="backbutton" y="106" />
<progress showload="none" showwait="none" />
<layer name="menu_container" type="container" keep="true" align="top" width="258" height="100%" zorder="20">
<layer name="menuscrollarea" url="plugins/scrollarea.swf" alturl="plugins/scrollarea.js" align="top" width="258" height="400" direction="v" onloaded="setcenter(0,800);">
<layer name="menu_extender" url="images/tab_extension.png" keep="true" align="top" scale="1" width="258" height="804" x="0" y="-820" visible="true" >
<layer name="menu_tab" url="images/tab.png" keep="true" align="bottom" width="258" height="51" x="0" y="-51" visible="true" />
</layer>
</layer>
</layer>
<scene name="pano1"><preview url="pano1.jpg" /><image><cubestrip url="pano1.jpg" /></image></scene>
</krpano>
Display More