Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Expand all sub-categories


Guest

Recommended Posts

Hi there,

 

I would like to achive that when somebody clicks on one of my top categories, that all sub-categories expand. I am talking of all levels of sub-categories.

 

It would be great to have top catgeory 1 expanded by default. I've seen such things with javascript or DHTML, but it must work on all browsers, so static would be fine as well.

 

Example:

 

--> Default

 

Main-Cat 1

--Sub-Cat 1

--Sub-Cat 2

----Sub-Sub Cat 1

----Sub-Sub Cat 2

--Sub-Cat 3

Main-Cat 2

Main-Cat 3

 

--> If someone click on Main-Cat 2 menu should change as below.

 

Main-Cat 1

Main-Cat 2

--Sub-Cat 1

----Sub-Sub Cat 1

----Sub-Sub Cat 2

--Sub-Cat 2

Main-Cat 3

 

These are just examples but I hope they show what I mean... :wink:

 

Regards Matt

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...