![]() |
|
|
Dropdown From Existing menu. |
|
Wannabe Adventurer...
Posts: 477
Name: Darren
Location: England
|
Please have a look here
is there anyway to adjust this menu so the "services" tab has a couple of extra options drop down? Also the tab would have to have a small down arrow next to it so im guessing I need to insert a background image somewhere to the css for that line? I really didn't want to have to start the menu again from scratch if I could help it!
__________________
"I always wanted the adoration of John Lennon - With The Anonimity of Ringo Starr..." QuizBay Help with the testing of this Beta site! |
|
|
|
| Sponsored Links (We share ad revenue): |
|
|
Re: Dropdown From Existing menu. |
|
Wannabe Adventurer...
Posts: 477
Name: Darren
Location: England
|
OK.....
Heres the HTML Code:
<div id="modernbricksmenu2">
<ul>
<li id="current" style="margin-left: 1px"><a href="index.htm" title="About Us">About Us</a></li>
<li><a href="business-consultancy-services.htm" title="Services">Services</a></li>
<li><a href="customer-testimonials.htm" title="Testimonials">Testimonials</a></li>
<li><a href="business-consultancy-case-studies.htm" title="Case Studies">Case Studies</a></li>
<li><a href="contact.htm" title="Contact">Contact</a></li>
</ul>
<br />
<br />
</div>
Code:
#modernbricksmenu2{
padding: 0;
width: 100%;
border-top: 4px solid #BC9B6A; /*Brown color theme*/
background: transparent;
voice-family: "\"}\"";
voice-family: inherit;
}
#modernbricksmenu2 ul{
margin:0;
margin-left: 0px; /*margin between first menu item and left browser edge*/
padding: 0;
list-style: none;
}
#modernbricksmenu2 li{
display: inline;
margin: 0 2px 0 0;
padding: 0;
text-transform:uppercase;
}
#modernbricksmenu2 a{
float: left;
display: block;
font: bold 11px Arial;
color: white;
text-decoration: none;
margin: 0 0px 0 0; /*Margin between each menu item*/
padding: 5px 10px;
background-color: black; /*Brown color theme*/
border-top: 1px gray;
}
#modernbricksmenu2 a:hover{
background-color: #BC9B6A; /*Brown color theme*/
color: white;
}
#modernbricksmenu2 #current a{ /*currently selected tab*/
background-color: #BC9B6A; /*Brown color theme*/
color: white;
border-color: #BC9B6A; /*Brown color theme*/
}
__________________
"I always wanted the adoration of John Lennon - With The Anonimity of Ringo Starr..." QuizBay Help with the testing of this Beta site! |
|
|
|
|
|
Re: Dropdown From Existing menu. |
|
Wannabe Adventurer...
Posts: 477
Name: Darren
Location: England
|
Right, the <ul><li></li></ul> makes sense but when you say target with rules, you mean for the styling of the dropdown?
__________________
"I always wanted the adoration of John Lennon - With The Anonimity of Ringo Starr..." QuizBay Help with the testing of this Beta site! |
|
|
|
|
|
Re: Dropdown From Existing menu. |
|
Wannabe Adventurer...
Posts: 477
Name: Darren
Location: England
|
Hmmm... it just adds the extra links to the rows...?
__________________
"I always wanted the adoration of John Lennon - With The Anonimity of Ringo Starr..." QuizBay Help with the testing of this Beta site! |
|
|
|
|
|
Re: Dropdown From Existing menu. |
|
Flipotron
Posts: 5,195
Name: James
Location: In the ocean.
|
This might help
http://search.yahoo.com/search?ei=UT...%40&fr2=sp-top |
|
|
|
|
|
Re: Dropdown From Existing menu. |
|
Wannabe Adventurer...
Posts: 477
Name: Darren
Location: England
|
Thanks Joder,
I've got a step further but still running into problems. Look Here The extra links appear when hovering over "services" but at the top and not dropping down!
__________________
"I always wanted the adoration of John Lennon - With The Anonimity of Ringo Starr..." QuizBay Help with the testing of this Beta site! |
|
|
|
|
|
Re: Dropdown From Existing menu. |
|
Wannabe Adventurer...
Posts: 477
Name: Darren
Location: England
|
No sorry I explained that wrong
I dont want it to appear at the top but it is!I want the list to appear below the "services" tab
__________________
"I always wanted the adoration of John Lennon - With The Anonimity of Ringo Starr..." QuizBay Help with the testing of this Beta site! |
|
|
|
|
|
Re: Dropdown From Existing menu. |
|
Novice Talker
Posts: 5
|
Cool stuff. Where did you learn all of this?
|
|
|
|
|
|
Re: Dropdown From Existing menu. |
|
Wannabe Adventurer...
Posts: 477
Name: Darren
Location: England
|
ok, so what does it need to be set at?
__________________
"I always wanted the adoration of John Lennon - With The Anonimity of Ringo Starr..." QuizBay Help with the testing of this Beta site! |
|
|
|
|
|
Re: Dropdown From Existing menu. |
|
Wannabe Adventurer...
Posts: 477
Name: Darren
Location: England
|
GRRRRRR! This is driving me nuts! I need to go live with the site in an hour!
Got the menu to NEARLY work, now they appear as a new row instead of straightdown! Link here
__________________
"I always wanted the adoration of John Lennon - With The Anonimity of Ringo Starr..." QuizBay Help with the testing of this Beta site! |
|
|
|
|
|
Re: Dropdown From Existing menu. |
|
Flipotron
Posts: 5,195
Name: James
Location: In the ocean.
|
This is the one I use
http://www.dynamicdrive.com/dynamici...rome/index.htm Don't know why you stick with position:absolute. Anyway, you might try the above one. For me it's not easy trying to sift through all the code trying to find a fix. |
|
|
|
|
|
Re: Dropdown From Existing menu. |
|
Wannabe Adventurer...
Posts: 477
Name: Darren
Location: England
|
Thanks Joder, I'm calling it a day now. I'll have a look in the morning.
If anyone comes up with a solution in the meantime that would be great. Darren
__________________
"I always wanted the adoration of John Lennon - With The Anonimity of Ringo Starr..." QuizBay Help with the testing of this Beta site! |
|
|
|
|
|
Re: Dropdown From Existing menu. |
|
Wannabe Adventurer...
Posts: 477
Name: Darren
Location: England
|
@ Wayfarer07
@ Joder Thanks for your help - TP added. Final Menu is here One last question... On IE7 the last dropdown link seems a bit twitchy to click on. There seems to be a gap between the 2 but the life of me I can't find out how to close it! Cheers
__________________
"I always wanted the adoration of John Lennon - With The Anonimity of Ringo Starr..." QuizBay Help with the testing of this Beta site! |
|
|
|
| Sponsored Links (We share ad revenue): |
| Thread Tools | |
|
|
| Webmaster Resources Marketplace: |
| Software Development Company | Webhosting.UK.com |
| Web Templates | Text Link Brokers | Stock Photos |