Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

menu code

Status
Not open for further replies.
Joined
Jan 19, 2007
Posts
2,207
Reaction score
47
I'm trying to create a two layered menu bar like the BBC's here:
http://www.bbc.com/news/uk/

I'm having trouble finding the template for anything close and I've forgotten so much about the CSS (I was never really any good!)

Can anyone point me in the direction of a resource that can help with this type of menu?
 
All you're doing is creating two separate nav menus, so in your html you need something like this:

Code:
<div id="header">
     <div id="top">
          <ul id="menuone">
               <li></li>
               <li></li>
               <li></li>
     </div>
     <div id="middle">
     </div>
     <div id="bottom">
          <ul id="menutwo">
               <li></li>
               <li></li>
               <li></li>
     </div>
</div>

You can practice css menus here: http://www.w3schools.com/css/tryit.asp?filename=trycss_float5
 
All you're doing is creating two separate nav menus, so in your html you need something like this:

Code:
<div id="header">
     <div id="top">
          <ul id="menuone">
               <li></li>
               <li></li>
               <li></li>
     </div>
     <div id="middle">
     </div>
     <div id="bottom">
          <ul id="menutwo">
               <li></li>
               <li></li>
               <li></li>
     </div>
</div>

You can practice css menus here: http://www.w3schools.com/css/tryit.asp?filename=trycss_float5

Thanks. The styling is what I'm having trouble with. Also the action on the upper nav should open different links on the lower nav bar.

When I was starting out learning CSS, Stu Nicholls website was a "go to" place for CSS wizardry:

CSS Play

Loads of different menu types to choose from, so there should definitely be something there that suits.

Thanks I'll take a look.
 
Last edited:
You don't need JavaScript for the dropdown menu. All CSS will work.

Updated the example I provided:
http://codepen.io/seemly/pen/pvjjGG

Thanks for taking the time to help me - I used your code and tweaked it a bit here.

Only a small problem but it seems to stick a bit when I go from "upcoming events" (the only dropdown) down to each of the sub items.

Wish there was a way to click to buy you a couple of pints...
 
Last edited:
Wish there was a way to click to buy you a couple of pints...

It's called PayPal ;)

I'm sorry but I'm really not sure about the use of a hot dog stand in your logo, it just doesn't send the right message.

Rgds
 
Last edited:
IMO your site would benefit from a prominent tagline or slogan showing the purpose and mission statement.
 
Last edited:
Thanks Accel. you were a big help too! I learnt a lot over the last 24 hours.

Re: the logo, it was a concept that we came up with after doing all the contests and comparing similar sites... It's connected to the fact that at every single NYC attraction you see these and kids run to them. They're iconic here.

All the market research that we've done has been really positive. The logo fits and really works for what we wanted so there is no way we're going to revisit the logo at this point !

Thanks again for all your help.
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members online

Premium Members

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom