jQuery-One-Page-Nav
jQuery-One-Page-Nav copied to clipboard
Smooth scrolling and smart navigation when user scrolls on one-page sites.
``` getHash: function($link) { var link_content = $link.attr('href').split('#')[1]; link_content = link_content.replace( /([;&,\.\+\*\~':"\!\^\/#$%@\[\]\(\)=>\|])/g, "\\$1" ); return link_content; } ```
On iPhone the menu click do not scroll to the begining of the section. Works perfecly on ipad. Yes m'y sections do have différent heights. Any idea
TypeError: this.$links[0] is undefined jquery.singlePageNav.min.js ...(t>=i.top-this.options.threshold){s=r}}}return s ||this.$links[0].hash}};e.fn.si... ^ here is the error (line 8, col 2055)
I tried to setup a one-page website with a simple bootstrap frame. I used this script for scrolling purposes. On a mac it works fine, but on a Iphone the...
Hello, I found your plugin very helpful and thanks for sharing it. I added a configuration option to allow someone to enable/disable the page scroll animation. I thought that it...
//Do we need to change the hash? if(self.config.changeHash) { /_window.location.hash = newLoc;_/ if(history.pushState) { history.pushState(null, null, newLoc); } else { location.hash = newLoc; } }
If I didn't set the current class on a nav item, this plugin should add it to the current nav item. I found in code that when `init()` function invoked,...
Hello, i use you plugin in an responsive website. On desktop it worked well, but on ipad is a bug. I have an active class which hightlight the current nav....
XML File
I am trying to use this plugin for Joomla 3.0. I receive an error message "JInstaller: :Install: Cannot find XML setup file". Is this download not compatible?
I needed parent information when end event was triggered.