View Full Version : Navigation

05-25-2007, 08:34 PM
I am a newbie who is trying to learn a little about creating websites. I have searched many websites and forums and am a little confused as to the best way to create rollover navigation bars and/or flyout menus. I have seen many sites that use javascript for the rollovers. Some say that CSS is the best way to create these. Others say Server-side includes are the way to go ( I think for the flyout menus). Which is the best way to create a simple site (mostly informational) that requires a simple navigations system (either a pure rollover bar or a simple flyout menu with only two tiers)? Any help you can offer is greatly appreciated. :)

05-25-2007, 08:47 PM
OK, there are many opinions but those practices are the most widely used:

Rollover buttons are made completely with CSS. JavaScript usually isnít necessary (except perhaps if you want some real special effects). Wellstyled (http://www.wellstyled.com/css-nopreload-rollovers.html) has a nice tutorial (except I would rather put the images underneath each other).
Server side includes areít only related to navigations. They can be used to include any kind of content but are mostly used to include recurring sections on different pages (likeÖ yeah, navigations for example). The advantage is that you only need to change the included file and it will be changed on each page where itís included.
The best known method for dropdown/flyout menus is probably the Suckerfish (http://alistapart.com/articles/dropdowns/) menu (or son of Suckerfish (http://www.htmldog.com/articles/suckerfish/dropdowns/))