knystrom18 Posted October 5, 2010 Share Posted October 5, 2010 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 More sharing options...
thescientist Posted October 5, 2010 Share Posted October 5, 2010 did you try following the reference URL example? Link to comment Share on other sites More sharing options...
knystrom18 Posted October 6, 2010 Author Share Posted October 6, 2010 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.