[web2py] Re: Problems with the MENU helper function and HTML5

2012-12-31 Thread Sverre
Thank you very much for your answer in detail, especially the hint for the bug. I found more bugs too with the firefox webconsole. But because this is work in progress, I'm able to live with that. A happy new year! Sverre kl. 19:24:37 UTC+1 mandag 31. desember 2012 skrev Paolo Caruccio følg

[web2py] Re: Problems with the MENU helper function and HTML5

2012-12-31 Thread Paolo Caruccio
I noted that my previous post is uncomplete. In the following the missing part: 2) static/metroui/web2py_metroui.css This file is needed to insert your customization or to override the rules in web2py.css and in original files of framework. 3)static/metroui/css/web2py_metroui_nojs.css

[web2py] Re: Problems with the MENU helper function and HTML5

2012-12-29 Thread Sverre
Thx for your hint. I'm not knowing js at all, but I found a solution: $(document).ready(function(){ jQuery('div.nav-bar ul').each(function(){ jQuery(this).removeClass('web2py-menu web2py-menu-vertical'); jQuery(this).addClass('menu'); }); jQuery('li.web2py-menu-first').e

[web2py] Re: Problems with the MENU helper function and HTML5

2012-12-29 Thread Paolo Caruccio
One possible solution (not tested). 1 step) in static/js create a new file named "web2py_metroui.js" having the following contents jQuery(function(){ jQuery('.menu>li.dropdown').each(function(){ jQuery(this).attr({'class':'','data-role':'dropdown'}); }); jQuery('.menu li li').each(fu