Community Add-Ons

Maintainers: nate_02631
Add file to this package
Top » InfoBoxes

'Category Box as Nested Unordered List for EZ(er) CSS & Dynamic menus v 1.00
for osCommerce Online Merchant v2.2

This contribution is an alternate category box which will output your store's categories as a proper nested unordered list, instead of a collection of non-breaking spaces, quasi-bullets and break tags.

What's the big deal about that you ask? With the categories now output as an unordered list, you can now more easily apply a lot of nifty CSS to turn your category list into a horizontal drop-down or vertical fly-out menu, make it a collapsible menu, easily attach bullets, add cool mouseover effects, or just about anything you can dream up!

The advantage of this technique over pure javascript solutions is that it is much more flexible, easier to apply CSS trickery to, is more search-engine friendly and makes just one query to the database.

Output includes optional CSS class tags to mark categories as selected or as parent cats. You can also choose to render all of your categories (useful for dynamic menus) or to render only the root cats and the selected category tree. Note that this contribution merely provides a foundation for you to construct a more attractive/functional menu by providing a more semantically-correct output. A little CSS-magic is required on your end, though I have included a sample vertical flyout menu CSS. I have included some resources in the readme.

Legend:  Download   Report

Expand All / Collapse All

Add All Products Link with Styles btwd 30 Jun 2010  

NOT THE FULL PACKAGE

Instructions for adding the ALL PRODUCTS link if installed to the top of your categories menu.

This is just a text doc with simple instructions.

NOT A FULL PACKAGE

Fixed for the "Orange Bubble" Template move_man 24 Jun 2010  
Version 1.1.3 (ie style bug fix images bug fix) kaczart 26 Apr 2010  
Closing Tags Fix 2 MickA 27 Feb 2009  
Closing Tags Fix vampirehunter 26 Feb 2009  
Version 1.1.2 (Fixed) irishfreakout 10 Jun 2008  
Version 1.1.2 (Fixed) irishfreakout 10 Jun 2008  
Version 1.1.2 irishfreakout 10 Jun 2008  
If using CSS shooter-boy 6 Jul 2007  
updated with category levels yourmanstan 3 Mar 2007  
Version 1.1 Bug fix and extras nate_02631 2 May 2006  
Forum Thread for Contribution nate_02631 30 Apr 2006  
'Category Box as Nested Unordered List for EZ(er) CSS & Dynamic menus v 1.00 nate_02631 30 Apr 2006