WebsiteBaker Support (2.8.x) > Templates, Menus & Design
show_menu2: valid XHTML and CSS selectable menus
gokcer:
Especially being able to create UDM4 Popup menus... Most of my customers want to see all submenus as rollover/sliding items in the menu bar. Now i can make it :-D.
Very much thanks to you brofield.
Boboga:
In reply to http://forum.WebsiteBaker.org/index.php/topic,5836.0.html
I'm also running into the same issue, I'm not a star with CSS but I think the problem is that the 'menu-expand menu-parent' doesn't have an "a href" with it so it breaks the CSS..
Anybody any idea for me how to fix this? :)
brofield:
Version 4.1 now available at http://code.jellycan.com/show_menu2/
* Support for an else clause in conditional formatting.
* Tested against latest version of WB (2.6.7)
B
BerndJM:
Hi brofield,
nice little addition I missed some times before.
No more need to make this if ... if ... if ... if ... "battles" ;-)
One question:
Is it a big deal to make $aItemClose and $aMenuClose as format strings like $ItemOpen and $aMenuOpen ?
Maybe it's a not very often needed thing, but I stumpled in some cases the last time, where it would be very helpfull.
Regards Bernd
brofield:
Version 4.2 now available at http://code.jellycan.com/show_menu2/
* Support for whitespace in conditional formatting
* Support for boolean AND/OR with multiple tests in conditional formatting
e.g. It is now possible to use something like:
[if ( id == current || class == menu-expand ) { foo } ]
which will output " foo " for the current page or for menus with children. See
http://code.jellycan.com/sm2test/pages/conditional.php
for examples and as always the documentation for full details.
--- Quote from: BerndJM on August 15, 2007, 01:33:38 PM ---Is it a big deal to make $aItemClose and $aMenuClose as format strings like $ItemOpen and $aMenuOpen ?
--- End quote ---
Yes. A lot of the information that is created for the opening items isn't available at closing time unless I stored it in a stack. I don't see that this should be necessary.
B
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version