On the tutorial I followed it says this:
Any Link Triggers Effect
Requirement 5: Any link on the page that refers back to a panel should trigger the effect
Since we're all lazy developers, we don't want to have to specifically markup arbitrary links on the page that should trigger this effect.
This is where Ariel's localScroll plugin comes to the rescue. By just applying that plugin with our default settings any link on the page will trigger the effect. In addition, because we're going to trigger our 'scrollerComplete' function when the effect has finished, it will correctly select the navigation associated.
|
But it doesnt work for me, lol