Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Navigation Bar Help! :)

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #32992
    ramit
    Member

    can anyone help me if how a navigation same as this is created ? Site of Kunal C.

    A reply would be much appreciated :)

    #74142
    shammancer
    Member

    It’s some css, images and javascript. He did his basic menu. Then he wrote some javascript to change the css of the images from hidden to shown (or whatever) on an on-hover event.

    http://w3schools.com/js/js_events.asp

    #74123
    scubasteve
    Participant

    Ramit,

    No need for js. Just use an image sprite. It’s an image with all images as one image and the css dictates what part of the image is shown in each list item. When you hover over, use the :hover css to change the background-position of the sprite to the hover state.

    #81891
    Thadley
    Participant

    I will agree with @scubasteve. Your best bet would be to go with CSS sprites. It will save you time and be less confusing than using JavaScript/jQeury.

    Good luck:)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.