Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Has anybody done a javascript drop down selection list for categories?

Quote Reply
Has anybody done a javascript drop down selection list for categories?
I'm just thinking that it would be great if somebody has the code already for something that does something like this:

In the top of the luna template, there is the search form elements, maybe over on the right would be a good place to see the following:
A drop down selection list that lists each category as well as how many links are available in that category. Something like

Choose a Category
Category One (35)
Subcategory One (4)
Subcategory Two (354)
Category Two (569)
Subcategory One (69)
Subcategory Two (500)
Category Three (14)


etc etc etc. When someone choose Category One (35) it takes them to the static page of category one in the links sql directory.

Anybody done this, if so would you mind sharing your javascript coding please.

I know that I can make a dhtml drop down selection menu and hard code in all the category links (I've already got one of those) but I'd really like it to be dynamic so that as I add categories, or remove them or reorder them, the javascript drop down selection list would reflect that.

Anybody, Bueller, Anybody?
Subject Author Views Date
Thread; hot thread Has anybody done a javascript drop down selection list for categories? Westin 8541 May 11, 2009, 4:58 PM
Thread; hot thread Re: [Westin] Has anybody done a javascript drop down selection list for categories?
Andy 8379 May 12, 2009, 1:52 AM
Thread; hot thread Re: [Andy] Has anybody done a javascript drop down selection list for categories?
Westin 8380 May 12, 2009, 2:42 AM
Thread; hot thread Re: [Westin] Has anybody done a javascript drop down selection list for categories?
Andy 8409 May 12, 2009, 3:36 AM
Thread; hot thread Re: [Andy] Has anybody done a javascript drop down selection list for categories?
Westin 8406 May 12, 2009, 3:40 AM
Thread; hot thread Re: [Westin] Has anybody done a javascript drop down selection list for categories?
Andy 8389 May 12, 2009, 3:47 AM
Thread; hot thread Re: [Andy] Has anybody done a javascript drop down selection list for categories?
Westin 8364 May 12, 2009, 3:50 AM
Post; hot thread Re: [Westin] Has anybody done a javascript drop down selection list for categories?
Andy 8356 May 12, 2009, 3:52 AM
Thread; hot thread Re: [Westin] Has anybody done a javascript drop down selection list for categories?
Westin 8395 May 12, 2009, 3:47 AM
Thread; hot thread Re: [Westin] Has anybody done a javascript drop down selection list for categories?
Andy 8373 May 12, 2009, 3:51 AM
Thread; hot thread Re: [Andy] Has anybody done a javascript drop down selection list for categories?
Westin 8376 May 12, 2009, 3:55 AM
Post; hot thread Re: [Westin] Has anybody done a javascript drop down selection list for categories?
Andy 8339 May 12, 2009, 4:04 AM
Post; hot thread Re: [Westin] Has anybody done a javascript drop down selection list for categories?
Westin 8383 May 12, 2009, 3:58 AM