
|
|
Quellcode |
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" . . /> |
|
|
Quellcode |
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> |
|
|
Quellcode |
1 2 3 4 5 |
<action name="initiate_menu"> . . if(device.mobile,delayedcall(0,slide_menu_left(););); </action> |
|
|
Quellcode |
1 |
set(plugin[%menu_0].onclick,get(group[get(level)].group[get(object_0_html)].link)); |
|
|
Quellcode |
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> |





Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »martinkota« (18. Mai 2015, 15:18)
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Muxi« (18. Mai 2015, 15:55)
|
|
Quellcode |
1 |
<plugin name="btn_menu" url= |
|
|
Quellcode |
1 |
set(back_y,get(menu_settings.menu_0_text_y_start));set(y,get(back_y)); |
|
|
Quellcode |
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!