HTML - Html Drop Downs
How do you display select drop downs side by side on web page using HTML?
Similar TutorialsI'm trying to have links in a drop down menu on my site. but they keep getting hidden behind the images? http://www.jesdeis.com I'm using dreamweaver cs5. I've tried using the spry menus, and im currently just using css ul/li menus. I can't figure it out. Thanks in advance! Howdy. The drop-down menus on my website, http://www.prs-nj.com, which I created on a Mac using Fireworks, are a little buggy. They don't stay up long enough and often you have to do some deft maneuvering with the mouse in order to get them to drop down. I would appreciate any advice you could give me. Yours, Gidmeister Okay here is the previous thread that lead me to this issue. http://www.htmlforums.com/html-xhtml...tml#post670803 It solved my issues of opening a new window based off of the selection in a drop down, how ever I have 13 drop downs and the script from the above thread only allows one drop down to work. The drop downs will increase, is there any way to get them all to work. Thanks dt_gry I'm prototyping several possible ways to build a website that's targeted towards unsophisticated users here in Mexico, so an un-scrolling navigation menu would be very helpful. This is the code for a simple Frameset with a Suckerfish drop-down menu is in the top ("header") frame. (BTW Suckerfish is an elegant snippet of code, isn't it?) Here's the code of the Frameset (quite routine): Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <!-- saved from url=(0013)about:internet --> <html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> </head> <frameset framespacing="0" rows="90,*" border=0 frameborder=0 > <frame name="header" scrolling="no" noresize target="main" allowtransparency="true" src="header.htm" style="position:absolute; top:0; left:0; z-index:5"> <frame name="main" src='homeeng.htm' style="z-index:1"> <noframes> <body> <p>This page uses frames, but your browser does not support them.</p> </body> </noframes> </frameset> </html> It took alota fussing to get the drop-downs to not disappear behind the lower ("main") frame. Z-index is no help. Finally they go over not under it, but only in IE7. They still dive under "main" in IE6 and Firefox. You can go to the website http://www.ajijiclimpio.org/frameset to see what I mean. Hover on the "about" menu item: it drops down fine in IE7; then take a look with Firefox. See what I mean? You can click on the Download Demo button at the bottom of the page on the website to get a zip of all the code. So, how do you get this working, hopefully in a compliant manner, in both IE and FF? Even if Framesets are not an ideal solution, it would be interesting to find the answer. Also, I hate being defeated by software quirks. Any ideas? hello i have a page 'gallery.html' that i want to show up when the URL www.site.com/gallery is requested. how do i achieve this? thanks in advance rlbw I have a small problem with my 'form drop down menu'. I've got a content box made of cells. There is the title box and the content box. In the header, i'd like to place on the left site the content's title and on the right side, i would like to have a drop down menu. So far, so good. The problem appears as soon as I add the <form> tag to my dropdown menu. The problem is that it pulls the cell in height and I cannot modify it with my HTML-editor. Can any one tell me what i can do, or even better, post me the finished code Here is my code: HTML Code: <body> <table width="630" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="630" height="10" align="center" bgcolor="#4D4D4D"> <table width="620" border="0" cellspacing="0" cellpadding="0" id="table4"> <tr> <td class="tabletitle"> <span lang="en-us">Titel</span></td> <td class="tabletitle" width="171"><p align="right"> <form ACTION="URI"> <p align="right"> <select name=selection onchange="location.href=(form.selection.options[form.selection.selectedIndex].value)"> <option class="under" selected value="In this section">In this section:</option> <option> </option> <option value="http://url"> URL 1</option> <option value="http://url"> URL 2</option> <option value="http://url"> URL 3</option> </select></p> </form> </td> </tr> </table> </td> </tr> </table> </body> Thank you in advance i want to make a thin drop down menu. like rather then being 20pxls high i want it be be 10-15pxls high and i want the background color to be black and the text to be white. just something simple and customizeable is perfect Hello everyone, im very sorry if i am reposting this question, i have tried to find the answer on the forum with no luck. I am very new to HTML and am learning everyday, i am trying to make a top menu kinda like on www.quantas.com.au. i would just like the drop down to be horizontal instead of the normail vertical menu. If anyone has any code to help me out or a tutorial that i would be able to learn from, i would be very appreciative. Thankyou in advance. Mikey Impossible right? Wrong. Or at least in mozilla firefox. I was playing around and came up with this: HTML Code: <style type="text/css"> .nav{ width: 150px; height: 400px; border: 1px solid #222222; background: #151515; color: #bb55ff; font-family: tahoma; font-size: 8pt;} .blank{ background-color: #000000; height:12;} .nav ul{ height: 12px; padding: 0px; text-align: right; overflow: hidden; background-color: #000000; border: 1px solid #222222;} .nav ul:hover{ padding: 5px; height: auto; text-align: left; overflow: visible; background-color: #000000; border: 1px solid #222222;} .nav li{ list-style-image: none; background-color: #151515; border: 1px solid #222222;} .nav li:hover{ list-style-image: none; background-color: #000000; border: 1px solid #222222;} </style> <div class=nav> <ul> <div class=blank>Site Nav</div> <li><a href="#top">Top</a></li> <li><a href="#news">News</a></li> <li><a href="#notice">Notice</a></li> <li><a href="#friends">Friends</a></li> <li><a href="#friends-form">Signup</a></li> <li><a href="#likes">Likes</a></li> <li><a href="#dislikes">Dislikes</a></li> <li><a href="#music">Music</a></li> <li><a href="#css">Layouts</a></li> </ul> <ul> <div class=blank>Links</div> <li><a href="/journal.php?u=Techie-ish">Journal</li> <li><a href="/gallery.php?u=Techie-ish">Gallery</a></li> <li><a href="http://quinn.1429caddo.net">Homepage</a></li> <li><a href="http://quinn.1429caddo.net/poetry.htm">Poetry</a></li> <li><a href="http://www.myspace.com/staining_in_the_rain">Myspace</a></li> </ul> <ul> <div class=blank>VF Nav</div> <li><a href='/inbox.php'>Inbox</a></li> <li><a href='/comments.php'>Comments</a></li> <li><a href='/view_pic_comments.php'>Pic Comments</a></li> <li><a href='/journal.php'>Journal</a></li> <li><a href='/edituser.php'>Profile</a></li> <li><a href='/editsettings.php'>Settings</a></li> <li><a href='/editpictures.php'>Pictures</a></li> <li><a href='/video/editvideos.php'>Videos</a></li> <li><a href='/editicons.php'>Icons</a></li> <li><a href='/edit_lists.php'>Lists</a></li> <li><a href='/group_mine.php'>Cults</a></li> <li><a href='/login.php?logout=1&c=a066e0f3'>Logout</a></li> </ul> </div> it doesnt work in internet explorer can someone tell me why? I've been trying to figure out how to create a drop down menu in place of the original navigation on my website. I found what I want to do I just need to know how to apply it. Here's the website with what I want to do: http://www.dynamicdrive.com/dynamici...roptabmenu.htm It's example 2. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>|*|Doll Directory|*|</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <!-- Stylesheet --> <style type="text/css"> body { background: url(''); background-color: #FFFFFF; font-family: "Trebuchet MS"; font-size: 12px; line-height: 1.5em; color: #ffffff; letter-spacing: 1px; } #container { margin: 0 auto; border: 4px solid #FF0080; width: 722px; background-color: #FFFFFF; } #header { width: 722px; } #content { background-color: #FFFFFF; padding: 4px; width: 500px; text-align: left; margin-left: 0px; margin-top: -8px; } #sidebar { float: right; width: 212px; background-color: #FFFFFF; margin-right: 0px; margin-top: -8px; height: auto; padding: 4px; text-align: center; } #footer { clear: both; background-color: #FF0080; margin: 0px; width: 722px; height: 45px; text-align: center; } #bar { text-align: center; margin: 8px; padding: 12px; margin-left: 0px; background-color: #FF0080; margin-top: 0px; width: 700px; } a.nav:link, a.nav:visited, a.nav:active { text-decoration : none; font-family : Trebuchet MS; font-size : 10px; line-height : 12pt; text-align : center; color : #fa829a; font-weight : bold; background-color : #252525; cursor : default; text-transform : uppercase; padding : 5px; border-right : 5px solid #c15876; border-bottom : 1px dotted #7d7d7d; } a.nav:hover { color : #ffffff; background-color : #363636; border-right : 5px solid #d58fb4; border-bottom : 1px dotted #515151; } .site { font-family: Gabriola; font-size: 22px; font-weight: bold; color: #fa829a; } h1 { margin-top: 5px; text-align: left; color: #fa829a; font-family: Gabriola; font-size: 25px; font-weight: bold; padding: 5px; font-style: none; border-bottom: 1px dotted #535152; letter-spacing: 1px; } h1:first-letter { text-align: left; color: #fa829a; font-size: 25px; font-style: normal; font-weight: normal; } h2 { font-weight: bold; text-align: left; color: #fa829a; font-family: Gabriola; font-size: 18px; border-bottom: 1px dotted #8a8988; padding-bottom: 2px; margin-top: 7px; margin-bottom: 7px; } a:link,a:visited,a:active { text-decoration: none; font-family: Trebuchet MS; cursor: default; font-size: 11px; color: #fa829a; font-weight: normal; } a:hover { font-family: Trebuchet MS; font-size: 11px; text-decoration: none; color: #fa829a; background-color: white; padding: 1px; } b,strong { font-family: "Trebuchet MS"; font-size: 11px; font-weight: bold; color: #fa829a; } i,em { font-family: Gabriola; font-style: italic; font-size: 11px; color: #fa829a; } u { font-family: Gabriola; font-size: 11px; border-bottom: 1px dotted #add568; color: #fa829a; padding-bottom: 1px; text-decoration: none; } blockquote { width: 350px; margin: 8px; padding: 3px; background: #fff; border: 3px solid #413b31; cursor: default; color: #fa829a; } </style> </head> <body> <div id="container"> <!-- Header image --> <div id="header"> <img src="http://missdolldecade.awardspace.us/MDD_Banner.png" border="0" alt="" /> <div id="bar"> <div class="nav"><a href="http://missdolldecade.awardspace.us/index.html" class="nav"><font color="#FFFFFF">Home</font></a> <a href="http://missdolldecade.awardspace.us/rules.html" class="nav"><font color="#FFFFFF">Home</font></a> <a href="http://missdolldecade.awardspace.us/scores.html" class="nav"><font color="#FFFFFF">Home</font></a> <a href="http://missdolldecade.awardspace.us/round1.html" class="nav"><font color="#FFFFFF">Home</font></a> <a href="http://missdolldecade.awardspace.us/round2.html" class="nav"><font color="#FFFFFF">Home</font></a> <a href="http://missdolldecade.awardspace.us/round3.html" class="nav"><font color="#FFFFFF">Home</font></a> <a href="http://missdolldecade.awardspace.us/awards.html" class="nav"><font color="#FFFFFF">Home</font></a> <a href="http://missdolldecade.awardspace.us/judges.html" class="nav"><font color="#FFFFFF">Home</font></a> <a href="http://missdolldecade.awardspace.us/enter.html" class="nav"><font color="#FFFFFF">Home</font></a> <a href="http://missdolldecade.awardspace.us/links.html" class="nav"><font color="#FFFFFF">Home</font></a></div> </div> <!-- Sidebar --> <div id="sidebar"> <h2>Tagboard</h2> <!-- Begin ShoutMix - http://www.shoutmix.com --> <iframe title="missdolldecade" src="http://www6.shoutmix.com/?missdolldecade" width="207" height="400" frameborder="0" scrolling="auto"> <a href="http://www6.shoutmix.com/?missdolldecade">View shoutbox</a> </iframe> <br /><a href="http://www.shoutmix.com" title="Get your own free shoutbox chat widget at ShoutMix!">ShoutMix chat widget</a><br /> <!-- End ShoutMix --> </div> <!-- Main content --> <div id="content"> <h1>Updates</h1> </div> <!-- Footer --> <div id="footer"> <a href="http://missdolldecade.awardspace.us">Miss Doll Decade</a> (C) Amber Riley 2010<br> <a href="http://missdolldecade.awardspace.us/contact.html">Contact MDD</a> </div> <!-- Container End --> </div> </div> </body> </html> hi everyone, i'm having trouble figuring out when i do the drop down box whatever the person selects how do i pass that as a parameter into java script or can i put the drop down box in the java script? My next question has to do with the fact that i am building a site for classified ads. and i want to put the information into a database how and what DBMS should i use? i was thinking RUBY, SQL, or PHP. or could i do JDBC any ideas or suggestions let me know. thanks Hello All, Sorry to ask for help on my first visit. Is there any way to link drop down lists to each other using html? For example, the first drop down list would have states/counties. Once they select one, on the second drop down list it automatically generates all the towns in that county/state. It's meant to be part of a form for a website. Many thanks to all Hi, I am looking for some help with HTML forms, namely forms which mainly comprise of drop-down boxes. I know how to create drop-down boxes in forms, though what I want is that each variable in the drop-down box should go to a different URL. For example, if someone selects "variable 1" and then clicks submit, it should go to a different URL than when they select "variable 2" and click submit. I have all the URL's, though I'm just not sure of how to make each variable go to a different URL. Can someone help me out with this? If anyone knows of a site which has something similar like this can you please direct me to it so that I can look at he source? Thanks. Hi, I have a website built in HTML and CSS in DW CS4. I have a horizontal top navigational menu and wish to add a drop down menu. When I select the entire menu and click on properties I can add a vertical menu item, but it is not an actual drop down. when I copy the html from another site that does have a functioning drop down, it does not work. So this is what it looks like: <div id="runner"> <ul id="MenuBar1" class="MenuBarHorizontal"> <li><a href="page1.html">page 1</a></li> <li><a href="page2.html">page 2</a></li> what shoudl the code look like to add a drop down menu to each of these pages? Or should I do something in my spry menu? Can anyone help me with this? Hi! I hope you guys can help with what is wrong here. Ive been slaving over this html trying to get it to work and I gave up. Heres my problem. I have two drop down menus on this page. However the right drop down menu only goes to a page from the menu on the left. I have them separated, Brazil and Romania, so the Romania menu links pull up one of the Brazil pages and I dont understand why because in the html I have clearly specified the links to go to different pages. I will attach the html used and ask someone to please point out the source of this html conflict. Hi Peeps, I have created a table of 24 football teams with links to all their forums so other people can link up with fans from around the country and talk football. However I realise that some of these teams have upto four forums. I would like to keep the table as it is and create some kind of drop down where the names of the forum drop down. Is it possible to create some sort of drop down in a table and can someone point me in the right direction so I might create one. Here is the page: http://www.freewebs.com/jonnibravo/l...forumsmain.htm Hello, I am a newbie to html but am working on a company website. I am looking for help with the drop down nav bar. I want to have the bar justified underneath the part that you are hovering over (for example, when you hover over Douglas Cardinal, the words biography, philosophy, etc would be justified underneath. When you click portfolio, current projects, museums, etc would be justified under portfolio) http://www.djcarchitect.com/portfoli...tprojects.html Is this possible? Thanks!! Hi! I would like to create a drop down menu in HTML where the user can choose many options, not possible in simple HTML? Dharma I have created a custom html dropdown menu for my site. The thing is it looks perfect in Firefox 5.0 (for me it does anyway) and works just as expected but in other browsers such as Opera 10.60, Chrome 5.0.375.125, it doesn't work properly. and it works semi ok in IE 8. For example if I hover over one of the menu buttons in opera or chrome there is meant to be a drop down box, this doesn't show in Opera or chrome but does in IE? You can view the menu on my test site - http://www.themidwiferysanctuary.com/testsite/ There is more to the menu, you can use the following log in - Username: Jade Password 130489 Does anyone have any thoughts on how to get the dropdown compatiable with all (or most) browsers? I would post the code but it won't let me even when using the code tags.......... If you want to see the javascript code then please just let me know. Im not sure any of the above makes sense?? Thank you, Jade I've made an incredibly simple html page as an active desktop for a gpo policy, however there's been an uproar about colours so I thought I'd give it a stab to have a drop-down box to select from a range of colours for the body style tag. Any suggestions? <html> <head> <!--808080--> <title>ArchitenBG</title> <STYLE type="text/css"> body { background-color:#3A6EA5; } #div1 { position: absolute; size: 50%; bottom: 0px; right: 0px;} </STYLE> </head> <body> <div id="div1"><img src="Talbg.png" /></div> </body> </html> |