WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Usage of show_menu()
(1/1)
whitsey:
Hi All,
I have created a template and have used show_menu() to display a very simple menu. My problem is that I have used a border-right method in my menu class which displays a separator between each menu item like this:
Home | New | Used | About |
The problem is, when using the show_menu() I have no control over when to stop displaying the '|'
Obviously, when I get to the last item, I no longer want to display the menu separator as seen above...
I guess my question is:
1. Can I use a different class for the first or last item?
2. Is there a better way for me to achieve this?
Thanks for your help
BerndJM:
Hi,
if you use show_menu2() you'll get automaticly a class menu-last for the last menuitem.
For details of the usage see the readme on the developer page:
http://code.jellycan.com/files/show_menu2-README.txt
Regards Bernd
Navigation
[0] Message Index
Go to full version