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 8553 May 11, 2009, 4:58 PM
Thread; hot thread Re: [Westin] Has anybody done a javascript drop down selection list for categories?
Andy 8390 May 12, 2009, 1:52 AM
Thread; hot thread Re: [Andy] Has anybody done a javascript drop down selection list for categories?
Westin 8392 May 12, 2009, 2:42 AM
Thread; hot thread Re: [Westin] Has anybody done a javascript drop down selection list for categories?
Andy 8420 May 12, 2009, 3:36 AM
Thread; hot thread Re: [Andy] Has anybody done a javascript drop down selection list for categories?
Westin 8417 May 12, 2009, 3:40 AM
Thread; hot thread Re: [Westin] Has anybody done a javascript drop down selection list for categories?
Andy 8400 May 12, 2009, 3:47 AM
Thread; hot thread Re: [Andy] Has anybody done a javascript drop down selection list for categories?
Westin 8375 May 12, 2009, 3:50 AM
Post; hot thread Re: [Westin] Has anybody done a javascript drop down selection list for categories?
Andy 8367 May 12, 2009, 3:52 AM
Thread; hot thread Re: [Westin] Has anybody done a javascript drop down selection list for categories?
Westin 8407 May 12, 2009, 3:47 AM
Thread; hot thread Re: [Westin] Has anybody done a javascript drop down selection list for categories?
Andy 8384 May 12, 2009, 3:51 AM
Thread; hot thread Re: [Andy] Has anybody done a javascript drop down selection list for categories?
Westin 8387 May 12, 2009, 3:55 AM
Post; hot thread Re: [Westin] Has anybody done a javascript drop down selection list for categories?
Andy 8350 May 12, 2009, 4:04 AM
Post; hot thread Re: [Westin] Has anybody done a javascript drop down selection list for categories?
Westin 8394 May 12, 2009, 3:58 AM