Old 29th October 2004, 13:06   #1
kingo'mountain
in need of banned aid
 
kingo'mountain's Avatar
 
Join Date: Mar 2001
Location: over the rainb... uh... nevermind
Posts: 2,716
dropdown box help (css)

im trying to create a dropdown box that clicking an option (if i choose to put a link) will redirect me to the link chosen without having to click 'go' or something like that, can somebody give me the template for such a thing?

(its for my dad actually)
kingo'mountain is offline   Reply With Quote
Old 29th October 2004, 14:00   #2
dlinkwit27
has no CT
(Forum King)
 
dlinkwit27's Avatar
 
Join Date: Sep 2000
Posts: 13,238
Send a message via ICQ to dlinkwit27 Send a message via AIM to dlinkwit27 Send a message via Yahoo to dlinkwit27
not sure if this is what your looking for, but it has some neat scripts.

http://www.dynamicdrive.com/dynamicindex1/index.html
dlinkwit27 is offline   Reply With Quote
Old 29th October 2004, 15:23   #3
Wolfgang
Forum King
 
Join Date: Mar 2004
Posts: 3,069
If you go to your control panel, there's a dropdown box that does a "Forum Jump" with the behaviour you're talking about. If you look at the source, there's this before all the options:

code:
<select name="forumid"
onchange="window.location=('forumdisplay.php?s=&amp;daysprune=&amp;forumid='+this.options[this.selectedIndex].value)">



that might have something to do with it... but I don't know a great deal of javascript. In fact, close to nothing.
Wolfgang is offline   Reply With Quote
Old 29th October 2004, 16:10   #4
kingo'mountain
in need of banned aid
 
kingo'mountain's Avatar
 
Join Date: Mar 2001
Location: over the rainb... uh... nevermind
Posts: 2,716
hmm, thats some serious javascripting, i think it takes some predefining before actually coding the menu itself, how do i do that?
kingo'mountain is offline   Reply With Quote
Old 29th October 2004, 16:24   #5
Wolfgang
Forum King
 
Join Date: Mar 2004
Posts: 3,069
I looked for some javascript relating to it in the header, but there wasn't any. Find another website that does it and look at the source.
Wolfgang is offline   Reply With Quote
Old 29th October 2004, 17:04   #6
kingo'mountain
in need of banned aid
 
kingo'mountain's Avatar
 
Join Date: Mar 2001
Location: over the rainb... uh... nevermind
Posts: 2,716
ok, thanks
kingo'mountain is offline   Reply With Quote
Old 29th October 2004, 17:13   #7
whiteflip
Post Master General
(Forum King)
 
whiteflip's Avatar
 
Join Date: Jun 2000
Location: Seattle, Now Las Vegas
Posts: 6,028
<select name="option" onchange="window.location=('url')">

I'm Back?
whiteflip is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Community Center > General Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump