Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Creating unselectable menu items in a drop down menu
Old 07-14-2006, 01:04 PM Creating unselectable menu items in a drop down menu
D-Bot's Avatar
Novice Talker

Posts: 5
Name: Darren Johnston
Location: Winnipeg, Canada
Trades: 0
I have been recently dabbling in Dreamweaver and I am wondering how to create a drop down menu where some of the menu items are headings and are therefore unselectable (and possibly even a different color). The perfect example of this is on Apple's website when you go the the "Visit A Store" drop down menu on their homepage (http://www.apple.com)

You can see that they have headings representing each State and they are gray and unselectable. The Cities beneath the States are in black and selectable. Does anyone know how to do this? Any helpfull links/tutorials?

Thanks!
__________________
- It's not what you don't know that will hurt you; it's what you don't know you don't know.
D-Bot is offline
Reply With Quote
View Public Profile Visit D-Bot's homepage!
 
 
Register now for full access!
Old 07-14-2006, 01:34 PM Re: Creating unselectable menu items in a drop down menu
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Look at their code and you can see how it's done:

Quote:
<option value="/retail/">See all Apple Store locations</option>

<optgroup label="Arizona">
<option value="/retail/chandler/"> &nbsp; Chandler, Chandler Fashion Center</option>
<option value="/retail/biltmore/"> &nbsp; Phoenix, Biltmore</option>
<option value="/retail/laencantada/"> &nbsp; Tucson, La Encantada</option>
</optgroup>
<optgroup label="California">
<option value="/retail/breamall/"> &nbsp; Brea, Brea Mall</option>
<option value="/retail/burlingame/"> &nbsp; Burlingame, Burlingame</option>
<option value="/retail/cortemadera/"> &nbsp; Corte Madera, Corte Madera</option>
<option value="/retail/southcoastplaza/"> &nbsp; Costa Mesa, South Coast Plaza</option>
<option value="/retail/baystreet/"> &nbsp; Emeryville, Bay Street</option>
<option value="/retail/glendale/"> &nbsp; Glendale, Glendale Galleria</option>
<option value="/retail/irvinespectrum/"> &nbsp; Irvine, Irvine Spectrum Center</option>
<option value="/retail/centurycity/"> &nbsp; Los Angeles, Century City</option>
<option value="/retail/thegrove/"> &nbsp; Los Angeles, The Grove</option>
<option value="/retail/beverlycenter/"> &nbsp; Los Angeles, Beverly Center</option>
<option value="/retail/manhattanvillage/"> &nbsp; Manhattan Beach, Manhattan Village</option>
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 07-14-2006, 01:57 PM Re: Creating unselectable menu items in a drop down menu
D-Bot's Avatar
Novice Talker

Posts: 5
Name: Darren Johnston
Location: Winnipeg, Canada
Trades: 0
thanks for the info. I'll give it a shot. (Remember - I'm really new to all this)
__________________
- It's not what you don't know that will hurt you; it's what you don't know you don't know.
D-Bot is offline
Reply With Quote
View Public Profile Visit D-Bot's homepage!
 
Old 07-14-2006, 04:19 PM Re: Creating unselectable menu items in a drop down menu
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
D-Bot we were all new once. As LadynRed pointed out though, one great way to learn is to view the source code of a page when you see something you want to know how to do.

Even after all these years I'll still come across a site and wonder how they did something. I'll just stop and view the source and see if I can find out. Sometimes the source code is a mess and hard to find what you want, particularly if you're new, but the more you look at other people's code the easier it gets to find things.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to Creating unselectable menu items in a drop down menu
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.42719 seconds with 12 queries