PDA

View Full Version : html/css question




Mike Teezie
Jan 14, 2005, 06:05 PM
I am a total web novice.

I want to try to build a nav bar for my site, much like this (http://www.alternativeapparel.com/) 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.

:o



mnkeybsness
Jan 14, 2005, 06:18 PM
check out the Suckerfish Dropdown Method (http://www.htmldog.com/articles/suckerfish/dropdowns/)

whocares
Jan 14, 2005, 06:53 PM
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!

whocares
Jan 14, 2005, 07:03 PM
check out the Suckerfish Dropdown Method (http://www.htmldog.com/articles/suckerfish/dropdowns/)

Just read through your link. Good stuff! :)


Still, bloody MSIE is always there to ruin your day. :mad: :mad:

Mike Teezie
Jan 18, 2005, 12:19 PM
check out the Suckerfish Dropdown Method (http://www.htmldog.com/articles/suckerfish/dropdowns/)

Oh, wow.

Thanks a TON. Seriously, I would have never made it without this.