Jump to content

Smooth Scroll to page anchor


knystrom18

Recommended Posts

I'm a little (just a tad) in over my head with this. :)Site in question: http://www.kylenystrom.com/I got script from http://css-tricks.com/snippets/jquery/smooth-scrolling/ which allows smooth scrolling to anchors on pages. I cannot get this to work.Should it be in the head section in it's entirety or linked to through <script type='...' src='...'></script>? Is there anything I need to change in the script or my document?I'll provide code if needed.Thanks!- K

Link to comment
Share on other sites

Didn't see that, got it working now, but it's presented a new problem.I've got a link with a hash tag to an anchor in a page. This link is part of the main nav, so it can be clicked from any page within the site. When clicked from any other page where the anchor is not, the scroll effect does not occur. How can I change this?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...