Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- Looking for mutiple level pulldown menu with a twist


stu2 - 6:30 pm on Mar 13, 2010 (gmt 0)


I have a Classified Ads website. I want to put a pulldown menu in a form with onchange which looks like this...

Regions / Provinces / Categories

Categories would be hidden until either Regions or Provinces is clicked.

Click on Regions and Select a Region and hide Provinces and populate Categories. Click on Categories and click on a Category and do a search for all ads in that Region/Category.

Click on Provinces and Select a Province and hide Regions and populate Categories. Click on Categories and click on a Category and do a search for all ads in that Province/Category.

It's basically an either/or (Region/Province) Category Search. The Categories are the same in both Regions and Provinces.

Clicking on the top level in any of the three menus should reset the menu at it's startup default (with hidden Categories).

Does anyone know of a script that will do this or would like to make an attempt at one?


Thread source:: http://www.webmasterworld.com/javascript/4097032.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com