Give help. Get help.

  • # May 19, 2013 at 2:15 pm


    I recently experimented creating a single page website: []( “Sample page”) and would like add two things:

    1. When user clicks on a menu item, which takes it to an anchor, I would like that item to be the active or selected item on the nav.

    2. I would like to have a smooth slide to the section or anchor.

    Thanks in advanced for your time.

    # May 19, 2013 at 2:37 pm

    a [Javascript]( only version

    and a [jquery one by @mottie]( – that uses the scroll wheel but can be easily adapted to your needs

    # May 19, 2013 at 3:29 pm


    Thanks both, @unasAquila and @atelierbram for replying.

    I’ll take a look a your suggestion.

    Thanks again.

    # May 20, 2013 at 9:48 am

    The one of Mottie is not working.

    I cant see where this: $(‘#nav’).onePageNav(); was defined in the js code.
    i mean the .onePageNav, and so it’s not working when copied out of jsfiddle.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.