I am using the ScrollTo() jQuery plugin at the moment and it works fine whenever I do not define a Doctype, however when I define a Doctype, the ScrollTo() plugin breaks.
I have posted my code on GitHub
I have looked through the internet for similar problems and I think some people have shared my problem but when looking at the solutions, they have not been clear to me.
I just need to get the plugin and doctype to work together, both must be present.
Please help,
Thanks
Some Changes in your markup:
Replace your
jquery.scrollto.min.jsfile with this versionReplace
<ul class="threeNavLinks">...</ul>with following code (both occurrence)Add following script in
<head>The above solution is tested locally and working fine.
Hope this help you!