gfranko / jquery.tocify.js

A jQuery Table of Contents plugin that can be themed with Twitter Bootstrap or jQueryUI.
http://gregfranko.com/jquery.tocify.js/
MIT License
928 stars 216 forks source link

Triggering Location Changes to Internal Targets with Anchor Elements #102

Open steve-kasica opened 7 years ago

steve-kasica commented 7 years ago

I'm having trouble with <a> elements that reference internal anchors generated by jquery.tocify.js, e.g. <a href="#Subheading">Subheading</a>. The location isn't changing when the element is clicked. I've recreated this bug in a fiddle. Could this be caused by the name attribute, which isn't supported in HTML5?