Forums

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

Home Forums JavaScript click menu go scroll and show below div

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #151663
    ananthan_iyer
    Participant

    Is it possible to do when clicking on menu show below divs with some light animation using CSS3 or jquery needed. I just wanted what 4guys.com created.

    #151713
    amis
    Participant

    it’s css
    you can get code using firebug of inspect element in chrome
    this code of hover

    .mainNav a:hover {
    color: #ff7906;
    text-decoration: none;
    outline: 1px solid #ccc;
    border: 1px solid #fff;
    font-weight: normal;
    background: rgba(233,232,232,0.35);
    -pie-background: rgba(233,232,232,0.75);
    }
    
    #151714
    georgearnall
    Participant

    He is referring to the scrolling effect when you click on a link in the navigation.

    Here is a snippet which allows you to do this.

    Hope this helps :)

    #151763
    ananthan_iyer
    Participant

    Solved. Thanks georgearnall for the snippet. Is their any particular name for this effect?

    #151764
    ananthan_iyer
    Participant

    amis, thanks for your effort.

    #151787
    georgearnall
    Participant

    @ananthan_iyer You might call it ‘anchor link smooth scrolling’ or something along those lines.

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