Welcome Guest ( Log In | Register)



 
Closed TopicStart new topic
> Dropdown Menus Links, IDK how to make them link
Static_Fury
post Jul 30 2005, 06:00 PM
Post #1


Advanced Member
*******

Group: Members
Posts: 112
Joined: 24-July 05
Member No.: 9,818



Ok its a big problem to me, i need to make my drop down menus options link to a web page. I know i can do it with a button, and i can get that to work but i need/want to have it link as soon as the option is selected........How do i do that?
Go to the top of the page
 
+Quote Post
electriic ink
post Jul 30 2005, 06:19 PM
Post #2


Incest is a game the whole family can play.
Group Icon

Group: [MODERATOR]
Posts: 1,223
Joined: 11-February 05
From: Heaven
Member No.: 3,709



Well this uses javascript and the code looks quite compucated. Here it is:

CODE

<form name="jumpto">
<select name="here" onChange="window.location=document.jumpto.here.options[document.jumpto.here.selectedIndex].value">
  <option value="/index.php">Home
  <option value="/forums/"> Forums
  <option value="/chat/"> Chat
  <option value="/about.php"> About
</select>
</form>


Pretty easy to work out. When you click on home it redirects you to the file /index.php and when you click on chat it redirects you to the directory /chat.

Go to the top of the page
 
+Quote Post
Static_Fury
post Jul 30 2005, 06:26 PM
Post #3


Advanced Member
*******

Group: Members
Posts: 112
Joined: 24-July 05
Member No.: 9,818



Thanks man smile.gif your a big time life saver. Maybe you could help me with one more thing today??? http://www.trap17.com/forums/needs-self-re...ock-t25296.html
just money.
Go to the top of the page
 
+Quote Post
snlildude87
post Jul 30 2005, 07:44 PM
Post #4


Moderator
***************

Group: Members
Posts: 2,325
Joined: 8-March 05
From: Mawson, Antarctica
Member No.: 4,254



Problem solved -> thread closed.

Do not hijack your own thread. Your thread will be answered as soon as someone who read it knows.
Go to the top of the page
 
+Quote Post

Closed TopicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Fade Link Color(4)
  2. Need To Learn Xml Quick(8)
  3. Insert Into Database(8)
  4. Expanding Link(12)
  5. Table/cell Link?(10)
  6. A Good Space For Learn Html(5)
  7. Link Colour(5)
  8. Link To Create Desktop Shortcut?(5)
  9. Autofill Dropdown Removal(3)
  10. Update Navigation Links?(2)
  11. Trouble With Links On A List(7)
  12. Making A Refresh Link On Your Website.(16)
  13. Dynamic Links(3)
  14. Populating A Form From A Link(5)
  15. Multiple Drop Down Menus W/ Submit Button(6)
  1. Keyboard Shortcut For Links In Html?(8)
  2. Refresh Main Window By Clicking Link In Popup?(2)
  3. Creating Link In Html - Help Me With This!(5)
  4. Image Links(5)
  5. Links Help Please(10)
  6. Xhtml Strict Links Tip(5)


 



- Lo-Fi Version Time is now: 11th October 2008 - 12:32 AM