Dear visitor, welcome to krpano.com 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.
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<menu_settings devices="desktop|tablet" . . row_height ="30" . . /> <menu_settings devices="mobile" . . row_height ="45" . . /> |
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<action name="switch_menu"> . . for(set(i,1), i LE group[get(level)].group.count, inc(i), txtadd(menu_0,'menu_',get(i)); txtadd(object_0_html,'object_',get(i)); set(plugin[%menu_0].html,get(group[get(level)].group[get(object_0_html)].value)); if(device.tablet,set(plugin[%menu_0].css,font-family:Arial; font-size:20px; color:#000000; text-align:left; font-weight:bold);); if(device.mobile,set(plugin[%menu_0].css,font-family:Arial; font-size:20px; color:#000000; text-align:left; font-weight:bold);); if(device.desktop,set(plugin[%menu_0].css,font-family:Arial; font-size:11px; color:#000000; text-align:left; font-weight:bold);); . . . </action> |
![]() |
Source code |
1 2 3 4 5 |
<action name="initiate_menu"> . . if(device.mobile,delayedcall(0,slide_menu_left(););); </action> |
![]() |
Source code |
1 |
set(plugin[%menu_0].onclick,get(group[get(level)].group[get(object_0_html)].link)); |
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 |
<action name="switch_menu"> . . if(device.mobile, set(plugin[%menu_0].onclick,get(group[get(level)].group[get(object_0_html)].link);onclick2();); set(plugin[%menu_0].onclick2,slide_menu_left();); , set(plugin[%menu_0].onclick,get(group[get(level)].group[get(object_0_html)].link)); ); . . </action> |
This post has been edited 1 times, last edit by "martinkota" (May 18th 2015, 3:18pm)
This post has been edited 2 times, last edit by "Muxi" (May 18th 2015, 3:55pm)
![]() |
Source code |
1 |
<plugin name="btn_menu" url= |
![]() |
Source code |
1 |
set(back_y,get(menu_settings.menu_0_text_y_start));set(y,get(back_y)); |
![]() |
Source code |
1 |
<plugin name="btn_menu" url="%FIRSTXML%/gui_menu/btn_menu.png" keep="true" align="leftcenter" edge="leftcenter" visible="false" zorder="10" y="0" |
Hello uHere is new version of side menu by Umalo (multilevel, scrollable, draggable menu button...smaller number of elements on mobile/tablets with bigger rows and fonts) integrated in my GUI published on project:
http://kieler-foerde-360.de/Kieler_Foerde/tour.html
Thanks for your support, Umalo!