Results 1 to 2 of 2

Thread: jQuery scrollto breaks links

  1. #1
    Join Date
    Oct 2013

    jQuery scrollto breaks links

    So I'm building a site using Foundation 4. It's a one page website, so I have a sidebar with anchor links to sections of the content.

    The anchor links work just fine on their own, but whenever I try to animate the scroll the links just break and do nothing when you click them.

    I've tried so many different methods, and all have the same outcome.

    Not sure if it's something that is conflicting with Foundation or if it's something I'm not doing right.

    Anyway, heres the fiddle http://jsfiddle.net/nTSXY/ (If you remove the js on the fiddle the anchors will work normally again)

    Any help is much appreciated

  2. #2
    Join Date
    Oct 2013
    Just figured out it works in Safari and a few mobile browsers but not for Chrome, IE, Firefox and Opera on desktop. Weird.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center