SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist
    Join Date
    Jul 2005
    Posts
    456
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to creat ethis navigartion feature?

    Hi, I posted this on another sitepoint forum, but I think it belongs here:
    I need to build this menu feature:http://www.websitevision.co.uk/clients/nav.gif
    Basically, I want it so the user rolls over "Hotel", "Cruises" etc... and it displays teh relevant form to search on. Woudl I show/hide divs. Does anyone have a sample of this menu feature - Ive tried lastminute.com and expedia but they dont have it.
    thanks

  2. #2
    padawan silver trophybronze trophy markbrown4's Avatar
    Join Date
    Jul 2006
    Location
    Victoria, Australia
    Posts
    4,095
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    I posted this on another sitepoint forum, but I think it belongs here:
    Nope

    CSS isn't meant to be used for behaviour - changing content blocks on mouse events. You will need to use javascript to show different content when the registered mouse events occur that you are wanting to capture.

  3. #3
    SitePoint Evangelist
    Join Date
    Jul 2005
    Posts
    456
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, yeah, ild use js to control the display of divs. Just checking if there was another/better way of doing this.
    cheers

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,777
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Hi,
    Just checking if there was another/better way of doing this.
    No I'm afraid you will need javascript to toggle the divs on and off but of course the styling can all be css. There isn't really any other way to do this sensibly

  5. #5
    SitePoint Evangelist
    Join Date
    Jul 2005
    Posts
    456
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK, cheers - Ill see how it goes!


Bookmarks

Posting Permissions

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