Closed jimmynotjim closed 11 years ago
This PR resets the active class to the nav item matching the top most section within the view bounds and adds an in-view class to all nav items matching sections within the view bounds. It's still not the perfect scenario, but at least it's better.
active
in-view
This PR resets the
active
class to the nav item matching the top most section within the view bounds and adds anin-view
class to all nav items matching sections within the view bounds. It's still not the perfect scenario, but at least it's better.