HTML - Need Help Option Box
I want to put color in my option box.. How can i do it? thanks =D
<html> <bgcolor="black"> <select size="1" name="D1" > <option selected>Punk</option> <option>Sum 41</option> <option>GoodCharlot</option> <option>My Chemical Romance</option> <option>Green Day</option> <option>Blink 182</option> <option>The All American Rejects</option> <option>The offspring</option> <option>30 seconds to mars</option> <option>Tokio Hotel</option> </select> </html> Similar TutorialsI have a drop down menu that changes the page when one of the options is selected. When I select an option, I want that option to become the selected option. Here is some example code. <select class="select" name="Gender" onchange="submit()"> <option value="">Gender</option> <option value="0">Female</option> <option value="1">Male</option> </select> If I select "Female" I want that option to be selected when the page reloads. Now the menu resets to "Gender" every time the page reloads. Thanks How I could make a download option using HTML. Thanks in advance Hey all! Is there a way to pass more than one value using the HTML option tag? I am using HTML and ASP together and so I need a first name variable and a last name variable from a DB2 table to be passed as well as show up together as one value in the drop-down box I have created (i.e. John Doe). As of right now I have figured out how to make it show in the drop-down box as John Doe however, I need the full name to be one value. Hope this makes sense! Thanks! Response.write "<option value=" & rs("FIRST_NM") & ">" & rs("FIRST_NM") & "</option> <option value=" & rs("LAST_NM") & ">" & rs("LAST_NM") & "</option>" how to do? i want a link that go to one site and show another text like - Lemon Smash <a href="http://www.jogos10.com/jugar.php?id=4918">Click to play =)</a> . but in option box. <script type="text/javascript"> window.onload=function() { document.getElementById('menu').onchange=function(){ goThere(this.value); } } function goThere(url){ location.href=url; } </script> </head> <body> <div> <select id="menu"> <option value="www.benfica.com" selected="selected">go to benfica</option> </select> </div> ?? is that? it is not working, is the last time that i call for your help, i promess, but plzzzzzzzzzz =D I want to rebuild a website, and I want to have a button that gives people the option of three background color choices. How can I do that? Hi, If one were to choose an option from a drop down, is there any way to immediately show either a textbox or some sort of input method next to the option? Ive seen this done on facebook, but i am not sure what type of language its using. an example is like this: How Many Links?: <select name="links"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> </select><br><br> if the user chooses drop down option 3, then immediately there would be 3 textboxes for the user to submit the website links.. thanks Preface: Aside from an angelfire webpage back in the 90's I have very little HTML experience. I am now trying to create a webpage and server on an 8-bit microcontroller. Because of memory limitations, I need to keep my entire page in one packet (~1500 bytes, including headers, et al). To avoid unnecessary overhead in the server, I do not want to use Code: <header><meta http-equiv="refresh"content=30;url=http://... Instead, I would like to put a refresh button on the page for users to hit when they want to check for any changes to the page. I have tested two options that both seem to work (tested in IE9, Firefox, Chrome). Option 1: An actual button Code: <form><input type=button value="Refresh"onClick="window.location.reload()"></form> Option 2: Just a simple link to the page with the word Refresh Code: <a href="http://www.....">Refresh</a> Question: I am not looking for the fanciest solution here -- just the most reliable. That said, I would prefer the button solution over the hyperlink solution. Is there any danger that Option 1 may not work in some cases in some browsers? Will both/either force the browser to go out and get the page again (rather than load from cache)? Hello all, I have a stong question because i can't solve it. I want to creat a drop down list with images beside each row. Usualy on clasic html is something like this: select ... option value /option /select But i want a small image (icon) beside each option from select. See for example: http://www.scrigroup.com/afaceri/con...ate/index7.php on the top page see a clasic select. How can i change it to icon seclect on each option? Thanks for your effort to reply Hi All! I'm using the Option Group/ optgroup/ Select features within a form and would like to initially display all options without having to click the arrow button to "reveal" the selections. I can't seem to find the option to allow this. Of course I can switch to a hyperlinked list, but have made extensive Option Group and would like to continue to use them. Thanks in advance!! Hello friends, i have a small problem with option value syntax... i' trying to send the value exactly like '123'. i want that both singlequotes but the value not taking that value... $string = " '123','234','345' "; $name = one; <option value=$srting>$name</option> but it is not displaying any vlaue.... help me anybady... thank you Info I realize that I need to have an offline color chart handy, I would like a standalone chart on my desktop for easy access, any links please? Hello, I want to put a dashed line divider between a value in option and other options. A pseudocode is mentioned below. Please help How do I achieve this? The dashed line should not be allowed to be selected. <SELECT> <OPTION VALUE="TravelLeisure.html">Travel & Leisure <OPTION VALUE ""> ----------- <OPTION VALUE="ymca.html">Waste Management <OPTION VALUE="WaterManagement.html">Water Management <OPTION VALUE="Welding.html">Welding </SELECT> Thanks, Ruchir I have taken over a website that has font size option. and now that i added some text, the text will not change when i use the font size option buttons on the left. anyone have any thoughts? http://www.aacwinnip...enda_Sklar.html Hi: Problem with understanding/using the <select /> clause. I would like the page sent to the user (upon loading) to show the chosen location (i.e., a State of the USA) when I send an updated page with a specified 'Value' set: Here is an abbreviated portion of my Select Clause: <select name="homestate"> <option selected="selected" value="CA">Select State</option> /*note the 'CA*/ <option value="AK">Alaska</option> <option value="AR">Arkansas</option> <option value="CA">California</option> /* I want California to display */ </select> Note that my 'Value' above for the "selected" option is "CA" (for California). However, if I send this updated page to my user with *his* state as 'CA', it still shows as 'Select State' -- where I wish 'California' to display in the Select Default Box. Question: Is there some way that I can make the Select Clause bring up the word 'California' when it accesses the Value='CA' and so on with other 'value' choices ?? (or does this have to be done (somehow) with Javascript ?? Thanks for any guidance ! -Mel Smith This is one of these things where you probably should just go to bed and forget all the confusion. My question: How the heck can you specify the length of the option field for a drop town list? I am sure ther is an embarrasingly simple answer. Thanks a lot and good night! Hi, how can I put in a drop down menu that slides down or across from a regular text link in html? Then, when selecting one of the options, I would like it to automatically take the visitor to the page option selected? I don't want a drop down menu and then hit 'Go' type mechanism, just a slide and click type thing. i.e when the link is clicked on it would reveal a drop down list that says.. Hotel Car Rental Airport Car Park Insurance and would then link directly to the appropriate page. Thanks! Hey all, I've been looking all over the net for a tutorail about this, but I can't seem to find one. What I'm trying to do is make a drop-down box where you can select an option, press a submit button, and it'll open up a new window *or tab for firefox users* pertaining to that information, such as a site that I choose to link to it. This is the code I'm using for my option box <div align="left"> <select name="xfer" size="1" style="color:000000; background-color:226622; font-family:trebuchet ms; font-size:11px; border:thin solid "ffffff;> <option></option> </select> </div></form> I'm totally stumped here. Any help would be greatly appreciated! -Cheers, Billy One product in my shop has multiple sizes and each size has a different price. I would like a drop down menu that lists options like this: Small Shirt - $15.00 Medium Shirt- $20.00 From whatever option is chosen, I need to register both the name(item_name) and price(amount) values with two different fields, like this: input type=hidden name="item_name" value="Small Shirt" input type=hidden name ="amount" value="15.00" Any suggestions? |