Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Mike Teezie

macrumors 68020
Original poster
Nov 20, 2002
2,205
1
I am a total web novice.

I want to try to build a nav bar for my site, much like this one.

What I need to know is - is the menu above composed with a combination off html and css, or one of the two? I really like the way on rollover, the sub menus drop down.

Would I make a table, then do the drop downs with css?

I wouldn't even know how to do the css honestly, but I'm trying to learn. My employers have tapped me to become our web designer, even though I really have no experiece with any of it.

I'm trying to learn.....

ANY help at all would be greatly appreciated.

:eek:
 
CSS will do half the work for you: creating the menu and submenus (each submenu will be on its own layer).

You'll also have to throw in a healthy dose of javascript to show and hide the submenus (notice the 'onmouseover="somejavascript"' in the page's source).

From experience, this will force you to do some browser specific javascript coding (namely for MSIE and Netscape <=4.7). All browser don't handle displaying and showing layers the same way in javascript (has to do with the DOM - Document Object Model, if you won't to go deeper into that; good luck!).

------

You didn't need to go so far for an example, we have similar menus here at MR, just click on someone's pseudo to the left of the posts!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.