Author Topic: Javascript or other drop down list.  (Read 5862 times)

Offline hidden

  • Expert Member
  • Senior Member
  • *****
  • Posts: 1348
  • LaughLots
Javascript or other drop down list.
« on: October 04, 2008, 05:31:45 PM »
Has anyone done something like a Javascript or other method of creating a drop down list of terms and definitions. What I have in mind is: when a term/item is selected in the drop down list of a web page, its corresponding definition is displayed in a window below it.

Any ideas?  :idea:
:dogwalksm: Ed

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: Javascript or other drop down list.
« Reply #1 on: October 04, 2008, 06:04:13 PM »
Sure.  Dynamic Drive has a script that will do exactly what you are looking for.
h**p://www.dynamicdrive.com/dynamicindex17/comboviewer.htm

-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )

Offline hidden

  • Expert Member
  • Senior Member
  • *****
  • Posts: 1348
  • LaughLots
Re: Javascript or other drop down list.
« Reply #2 on: October 04, 2008, 06:24:27 PM »
So that is what it is called  :v8slap:  a Combo Box Viewer.

I've been searching for Drop Down Lists.  :banghead:

Thanks for your help Sami.  :clapping:
:dogwalksm: Ed

Offline hidden

  • Sami
  • Administrator
  • Senior Member
  • *****
  • Posts: 5924
  • Not a geek. Just a Nerd.
    • CSB Tutorials
Re: Javascript or other drop down list.
« Reply #3 on: October 04, 2008, 06:41:28 PM »
And if you want to have a description below your drop down box, AND make it linked to go to that page, take a look at this one:   Drop down menu w/ description
h**p://www.dynamicdrive.com/dynamicindex1/combodescribe.htm

And of course, you can use Iframes.  Dropdown loads a text file into an iframe.

Lots of ways to do what you are looking for.   :yes:


-Samantha
TNG: "Sometimes, you can make no mistakes, do everything right, and still lose" - Capt Picard to Data
(:turtle: In memory of Turtle: May 22, 1944 - Nov 24, 2007  GURU, mentor, and really nice guy! :turtleleft: )

Offline hidden

  • Expert Member
  • Senior Member
  • *****
  • Posts: 1348
  • LaughLots
Re: Javascript or other drop down list.
« Reply #4 on: October 04, 2008, 06:55:27 PM »
I want to make it difficult for people that copy our dictionary: h**p://www.tpacc.com/1/main/dictionary.htm as everything is on one long page, but still provide the definitions. I've also thought of using a framed page, iframes, Flash, and an Acess database. I also have Allweb drop down menu trees, but don't like it as it is rather cumbersome. Thanks will look at this URL too.
:dogwalksm: Ed