Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Navigation

  1. #1
    New to the CF scene
    Join Date
    May 2007
    Thanked 0 Times in 0 Posts

    Smile Navigation

    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.

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Halle (Saale), Germany
    Thanked 1,052 Times in 1,025 Posts
    OK, there are many opinions but those practices are the most widely used:

    1. Rollover buttons are made completely with CSS. JavaScript usually isn’t necessary (except perhaps if you want some real special effects). Wellstyled has a nice tutorial (except I would rather put the images underneath each other).
    2. 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.
    3. The best known method for dropdown/flyout menus is probably the Suckerfish menu (or son of Suckerfish)


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts