Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Old 07-27-2009, 11:52 PM   #1 (permalink)
Contributing Member
 
gj2009's Avatar
 
Join Date: 07-19-09
Location: Melbourne
Posts: 65
iTrader: 0 / 0%
gj2009 is liked by many
Drop Down List with a Button

Can someone provide me with the codes for a drop down list to add to my website?
__________________
Free Recipes for Kids
gj2009 is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-28-2009, 12:14 AM   #2 (permalink)
Super Moderator
 
htmlbasictutor's Avatar
 
Join Date: 10-29-07
Location: British Columbia, Canada
Posts: 3,300
iTrader: 0 / 0%
Latest Blog:
Website Testing

htmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web pro
The SELECT, OPTGROUP, and OPTION elements

HTML Forms and Input - there are some examples of drop downs at bottom of page.
__________________
HTML Basic Tutor - Learn to code your web pages/blogs
Basic Computer Information - Computer Basics for website owners

Trouble getting indexed? Maybe it's something techincal - Pm me.
htmlbasictutor is online now  
Add Post to del.icio.us
Reply With Quote
Old 07-28-2009, 12:27 AM   #3 (permalink)
Contributing Member
 
gj2009's Avatar
 
Join Date: 07-19-09
Location: Melbourne
Posts: 65
iTrader: 0 / 0%
gj2009 is liked by many
Quote:
Originally Posted by htmlbasictutor View Post
The SELECT, OPTGROUP, and OPTION elements

HTML Forms and Input - there are some examples of drop downs at bottom of page.
I'm after a menu that also provides links to the selected options.
__________________
Free Recipes for Kids
gj2009 is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-28-2009, 12:36 AM   #4 (permalink)
Super Moderator
 
htmlbasictutor's Avatar
 
Join Date: 10-29-07
Location: British Columbia, Canada
Posts: 3,300
iTrader: 0 / 0%
Latest Blog:
Website Testing

htmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web prohtmlbasictutor is a highly respected web pro
Did you look through the CSSPlay website?
__________________
HTML Basic Tutor - Learn to code your web pages/blogs
Basic Computer Information - Computer Basics for website owners

Trouble getting indexed? Maybe it's something techincal - Pm me.
htmlbasictutor is online now  
Add Post to del.icio.us
Reply With Quote
Old 08-04-2009, 03:07 AM   #5 (permalink)
Contributing Member
 
WebDizajnSajter's Avatar
 
Join Date: 07-28-09
Location: Novi Sad, Serbia
Posts: 57
iTrader: 0 / 0%
Latest Blog:
None

WebDizajnSajter is liked by many
Smile Drop Down List with a Button

gj2009,

I just design web site for architectural studio, and they ask me for creating horizontal drop down navigational menu. It consists of css, html and js, javascript is needed because of IE 6 bugs. If you want to change text in navigational menu once to be changed on every web page you need and php script as well.

Js script file embed in the head of web page. Here is the code

Css

Code:
#nav, #nav ul { /* all lists */ padding: 5px; margin: 0 10px 10px 0; list-style: none; float : left; background: transparent; width: 140px; } #nav li { /* all list items */ position : relative; float : left; margin-bottom: 3px; width: 200px; } #nav li ul { /* second-level lists */ position : absolute; left: -999em; margin-top : -27px; margin-left : 160px } #nav li a { /* width: 150px;*/ display : block; color: #FFFFFF; text-decoration : none; background: transparent; padding: 4px 10px 4px 7px; font: 100% Verdana, Arial, Helvetica, sans-serif; font-weight: bold; /* border: 1px solid #FFFFFF;*/ } #nav li a:hover { color: #FFCC00; background: transparent; font-weight: bold; } #nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */ left: auto; }
Html

Code:
<ul id="nav"> <li><a href="http://www.v7n.com/forums/home.html">Home deep house</a></li> <li><a href="projekti.html">Projekti deep house</a></li> <li><a href="stanovi/stanovi.html">Stanovi</a> <ul> <li><a href="stanovi/minimalizam-kao-princip-stan.html">Minimalizam kao princip</a></li> <li><a href="stanovi/prostor-bez-kanona-stan.html">Prostor bez kanona</a></li> <li><a href="stanovi/studentski-stan.html">Studentski stan</a></li> </ul> </li> </ul>
Js

Code:
<script type="text/javascript"><!--//--><![CDATA[//><!-- sfHover = function() { var sfEls = document.getElementById("nav").getElementsByTagName("LI"); for (var i=0; i<sfEls.length; i++) { sfEls[i].onmouseover=function() { this.className+=" sfhover"; } sfEls[i].onmouseout=function() { this.className=this.className.replace(new RegExp(" sfhover\\b"), ""); } } } if (window.attachEvent) window.attachEvent("onload", sfHover); //--><!]]></script>
__________________
web dizajn I web dizajn
WebDizajnSajter is offline  
Add Post to del.icio.us
Reply With Quote
Old 08-04-2009, 02:44 PM   #6 (permalink)
Contributing Member
 
gj2009's Avatar
 
Join Date: 07-19-09
Location: Melbourne
Posts: 65
iTrader: 0 / 0%
gj2009 is liked by many
This is fantastic! Many thanks WebDizajnSajter
__________________
Free Recipes for Kids
gj2009 is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mysql query browser drop list RyOn Coding Forum 8 07-08-2009 07:31 AM
Disable Form Button, Back Browser Button... twalters84 Coding Forum 2 10-09-2008 01:33 PM
Help with msn button Maa Blog Promotion 9 05-11-2007 12:12 AM
geo map button prepsportshq.com Marketing Forum 0 09-13-2006 07:41 PM
Firefox Links Drop Down List Fruit & Veg Web Design Lobby 2 09-21-2004 12:21 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 05:05 PM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.