Static_Fury
Jul 30 2005, 06:00 PM
| | 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? |
Reply
electriic ink
Jul 30 2005, 06:19 PM
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.
Reply
Static_Fury
Jul 30 2005, 06:26 PM
Thanks man  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.
Reply
snlildude87
Jul 30 2005, 07:44 PM
Problem solved -> thread closed. Do not hijack your own thread. Your thread will be answered as soon as someone who read it knows.
Reply
Similar Topics
Keywords : dropdown menus links idk link- Table/cell Link?
- (10)
Well, I actually don't know what it is. But I need a code where you can click everywhere on the
table, not only on the text/image....
Multiple Drop Down Menus W/ Submit Button
- (6)
I am building a page that will have 2 drop down menus and a submit button. The first menu will have
one set of options, say colors (red, blue, green, yellow). The second menu will have another set of
options, say sizes (small, medium, large). What I want to be able do is select a color and a size,
click submit and have it go to the page for those options. So if a user picks 'Red' and
'Small' and clicks submit they will be linked to page1.html. If they pick 'Blue' and
'Large', they will be linked to page2.html, and so on. Any ideas how to ...
Creating Link In Html - Help Me With This!
- (5)
edit: Neeeaavverrrminddd..... I was a total noob at php when i posted this and I needed help doing
something with bbcode in php and didn't really know what I was saying.. /blush.gif"
style="vertical-align:middle" emoid=":blush:" border="0" alt="blush.gif" /> Anyway topic
resolved......
Links Help Please
- :) (10)
Okay i have links that work at my house but not at school where i am trying to edit the HTML, the
site is www.gaming-alliance.net, the links arent set anywhere but it should still send me to a blank
page if the link i sent it to does not exist. Could someone please check it out and see if its
working on a different computer? because it works on mine at home heres the code... Gaming
Alliance | Next Generation Of Gamers Today Thanks....
Xhtml Strict Links Tip
- A problem might accure (5)
Making A Refresh Link On Your Website.
- refresh local webpage (16)
/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> post it on ur website
CODE <a href="javascript:this.location.reload();" style="color:
#000000; font-weight: normal">refresh</a> It can refresh local webpage. U
can add it at ur forum so that each topic u are reading can be refresh easily. If ur website
return to homepage after pressing I.E. refresh button, then u must need this coding. /cool.gif'
border='0' style='vertical-align:middle' alt='cool.gif' /> Beacus visitors only w...
Image Links
- (5)
Ok...another question...may sound stupid, but we're all stupid...how'd I be able to create
an image link. Uh...let me rephrase this: If I were to create an "Enter" image and wanted people to
click the image to enter to a certain page, how would I do it without some sort of the famous "Blue
Line" around it? Any help would be greatly appreciated... /unsure.gif"
style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" />...
Refresh Main Window By Clicking Link In Popup?
- (2)
This is another refresh problem question. The project I'm doing uses tons of frames (I know,
some of you will probably advise me not to use frames) and I'm having problems with refreshing
the target frames. The problem is, I have a main page (main.html) that is a popup (so that I
don't see the address bar and the other toolbar bits in my browser) and there are links in that
page that when clicked also pops up a page. What I don't know is how to refresh the main page
using a link in the other popup page. I've tried using this but this only works f...
Keyboard Shortcut For Links In Html?
- (8)
Is there a way to make use of the keyboard when togging html links? I'm doing a project and it
would be nice if the user won't be too mouse-dependent. He will have the option of using the
keyboard as well. I'm thinking if the user does a particular keypress (CTRL + LETTER maybe? )
the link will be "clicked". This is probably a stupid question but if anyone knows a way it would
be so fantastic! /cool.gif" style="vertical-align:middle" emoid="B)" border="0"
alt="cool.gif" /> Thanks....
Populating A Form From A Link
- (5)
I have an online application Form that multiple groups use from their own webpages. I would like the
form to automatically populate a couple fields depending on which group's site it's clicked
from......... I think there is a way to populate a form just by adding stuff to the link, but I
don't know how and I can't find any information on how online (not really sure what to
search)......... anyone know? I want a combo-box and a text field automatically populated with
information depending on the link that's clicked. I honestly don't know if this i...
Dynamic Links
- (3)
his may be a CSS question, but it's the XHTML not validating that's giving me a problem.
I'm working with the most out-dated shopping cart software (Click Cart Pro) ever and I'm
trying to get it to validate XHTML 1.0 Transitional. All the XHTML I've supplied is good and
validates fine, but where I'm falling short at the moment is with the linking. ClickCart Pro -
by default - spits out HTML from 1996, and the links are supplied with ampersands - not the XHTML
character entity "&". Par l'exemple: Code: CODE <a href="http:...
Trouble With Links On A List
- i want to display it inline (7)
I have a menu that i want to display inline, in the same row, something like this: CODE
<style type="text/css">
ul{float:left;width:100%;padding:0;margin:0;}
a{float:left;text-decoration:none;color:white;background-color:red; padding:5px
10px;} a:hover {background-color:blue} li {display:inline} </style> The
only problem is that i want a custom img for showing as CODE list-style:
url(img/bullet.gif) But seems that display:inline makes my bullet go away... could s...
Update Navigation Links?
- (2)
One of the requirements for the site Im working on right now is to be able to update navigation
links easily. Its easy to do with frames, which I want to avoid. If I have 8 different pages, and
add another page or anything, I dont want to have to open 8 pages and make the change to all of
them. Is there another way, like having some kind of external style sheet, and bieng able to update
that and have it carry over to all the other pages? As far as I understand, you can only have CSS
code in a external stylesheet, and all the link infomation is in the actual page itself....
Autofill Dropdown Removal
- (3)
When I go to a website and enter informaiton in a form my borwser saves this information, this also
happens on my site. Now because I didn't do anything special I assume all my visitors have the
same functionality, that is remember what they typed on a previous visit. Is there a way using some
sort of language in my site to repress the browser wanthing to remember filled in form information?...
Link To Create Desktop Shortcut?
- (5)
Is there a way to make a link that actually creates a desktop shortcut? I have a page that gives
links to files on our intranet but I know of people who try and make shortcuts for these files. It
would be nice if I could put a link next to the link for the file that would make a shortcut. Use
a more descriptive topic title next time. ...
Link Colour
- (5)
Hey all, i dont know how easy this is to do or whether it can be done just using HTML or whatever.
Basically i have 2 seperate navigation bars top nav bar is the parent navigation bar. when you
hover over any of the entries in this parent bar it dynamically updates the second nav bar. what i
ideally want is to highlight the parent link in black when i move the mouse over it BUT stay black
until i select/ hover over another parent link. does that make sense? ...
A Good Space For Learn Html
- web site link (5)
Hi i find this web site you can learn html lan very fast and very easy woow i found it many
tutorials go http://www.w3schools.com/ its really good website /rolleyes.gif' border='0'
style='vertical-align:middle' alt='rolleyes.gif' /> ...
Expanding Link
- (12)
Wee... Another question: How can I make that clicking on a specific link expand to something?
Well... Here's an example: I have a list with the 5 best sites: Site 1 {more info} site 2 {more
info} etc. Clicking on {more info} for site 1, will show a description below the link, and now, site
2 will be below the description. I hope you understand my question /tongue.gif' border='0'
style='vertical-align:middle' alt='tongue.gif' /> ...
Insert Into Database
- Radio Buttons and dropdown menus (8)
I am currently working on a registration page but I can't figure out a few things, wich all
basically have the same thing in common Radio Button: In the registration form i have a gender
selection and I want to input that into the database, I currently have the following: CODE
<input type="radio" name="gender" value="1">Male <input
type="radio" name="gender" value="2">Female In the registering file
I put the following (edited for the question): CODE $SQL = "INSERT into go_logintable...
Need To Learn Xml Quick
- links or info on xml (8)
I need to learn xml and would like links or anything on the subject. I've looked at some code
and i still don't see the point to it at all. round ...
Fade Link Color
- (4)
hi, how do you make the linkcolor fade to another color when pointing your cursor to the link?
It's a rather short description of my question, but i hope it's clear /cool.gif'
border='0' style='vertical-align:middle' alt='cool.gif' /> . More tips and tricks are welcome......
Frames And Links
- (3)
I don't often use frames and I am having a problem linking from page to page. I am using php.
I have a link with goes: result 1 In results.php I create my frames and use 'if' queries
to select a frameset depending on the variable passed in the link, so it goes: if ($_GET ) {
else ...and so on. My problem is this - when I use target="result1", a new window opens and loads
the page the way I want it, but I don't want a new window to open. If i put target="_self",
then the page loads in the same window, but the page 'results.php' ap...
need help with drop down menus!!
- (17)
can any1 help me give a simple solution about mamking drop down menus with any programs or simple
html coding. i want my site to look better than my friends ones but basic things like this are
difficult for noobs like me to overcome...
Looking for dropdown, menus, links, idk, make, link
|
|
Searching Video's for dropdown, menus, links, idk, make, link
|
advertisement
|
|