[web2py] Re: Menu item without URL

2013-04-30 Thread Anthony
Yeah, you'd have to apply your own CSS to get it to look right in that case. Instead, why don't you use the first method: ('Item 3', False, None, [('Subitem1', False, URL(...)), ('Subitem2', False,URL (...))]) That will look and behave properly, but clicking the "Item 3" link won't do anything.

[web2py] Re: Menu item without URL

2013-04-29 Thread Anthony
If you do: ('Item 3', False, None, [('Subitem1', False, URL(...)), ('Subitem2', False,URL (...))]) "Item 3" should be a clickable link, but clicking it won't do anything (it's href will b "#", and it will have an "onclick" handler that does nothing in response to a click). If you don't want it