![]() |
#1 |
in need of banned aid
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) |
![]() |
![]() |
![]() |
#2 |
has no CT
(Forum King) |
not sure if this is what your looking for, but it has some neat scripts.
http://www.dynamicdrive.com/dynamicindex1/index.html |
![]() |
![]() |
![]() |
#3 |
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: that might have something to do with it... but I don't know a great deal of javascript. In fact, close to nothing. |
![]() |
![]() |
![]() |
#4 |
in need of banned aid
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?
|
![]() |
![]() |
![]() |
#5 |
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.
|
![]() |
![]() |
![]() |
#6 |
in need of banned aid
Join Date: Mar 2001
Location: over the rainb... uh... nevermind
Posts: 2,716
|
ok, thanks
|
![]() |
![]() |
![]() |
#7 |
Post Master General
(Forum King) Join Date: Jun 2000
Location: Seattle, Now Las Vegas
Posts: 6,028
|
<select name="option" onchange="window.location=('url')">
I'm Back? |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|