javascript - Active link while scrolling -
i'm trying add active link, while people scrolling, section on have active class.
i've been using fiddle post: change active menu item on page scroll?
i can't work in code though.
below have far, , website http://whitneyedenlewis.com
thanks!
whitney,
the fiddle post mentioned does work, need add id <ul>
it's <ul id="top-menu">
.
after adding , using code in aforementioned fiddle, see active class moving other links in navigation. there, you'll still have little more do, should answer question.
Comments
Post a Comment