Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-18-2012, 03:46 PM   PM User | #1
charisma44
New Coder

 
Join Date: Sep 2012
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
charisma44 can only hope to improve
Adding second drop down menu

I have a drop down menu on my site, now I want to add another drop down off of one of my other drop down menu tabs.

http://www.cjwebconsulting.com/joey/index.html#
charisma44 is offline   Reply With Quote
Old 11-18-2012, 04:02 PM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Good morning charisma44,
You just need to add another ul. Follow the layout of the drop that's working and you'll be fine.
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Old 11-18-2012, 04:10 PM   PM User | #3
charisma44
New Coder

 
Join Date: Sep 2012
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
charisma44 can only hope to improve
I tryed that. Off of Destination is North America. LIke to have a drop menu off of North America. I thought it would be simple.
charisma44 is offline   Reply With Quote
Old 11-18-2012, 04:53 PM   PM User | #4
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Quote:
Originally Posted by charisma44 View Post
I tryed that. Off of Destination is North America. LIke to have a drop menu off of North America. I thought it would be simple.
Start with this in your markup
Code:
    <div id="navigation">
        <ul>
            <li><a href="index.html">Home</a></li>
            <li><a href="#">Destination</a>
                <ul>
                    <li><a href="#">North America</a>
                    	<ul>
                        	<li>added menu items</li>
                        	<li>added menu items</li>
                        	<li>added menu items</li>
                        	<li>added menu items</li>
                        </ul>
                    </li>
                    <li><a href="#">Central America</a></li>
                    <li><a href="#">South America</a></li>
                    <li><a href="#">Europe</a></li>
                    <li><a href="#">Caribbean</a></li>
                    <li><a href="#">Africa</a></li>
                    <li><a href="#">Middle East</a></li>
                    <li><a href="#">Australia</a></li>
                    <li><a href="#">Asia</a></li>
                </ul>
            </li>
            <li><a href="resources.html">Resources</a></li>
            <li><a href="comments.html">Comments</a></li>
            <li><a href="contact.html">Contact</a></li>
        </ul>
    <!--end navigation--></div>
And target it in your CSS, because it will need to be styled and positioned differently than your other drop, with this
Code:
#navigation ul li ul li ul {
	css goes here
}
#navigation ul li ul li ul li {
	css goes here
}
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Old 11-18-2012, 04:54 PM   PM User | #5
charisma44
New Coder

 
Join Date: Sep 2012
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
charisma44 can only hope to improve
Thank you
charisma44 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 10:52 AM.


Advertisement
Log in to turn off these ads.