Fixed navigation links; closes #29.
h3rald h3rald@h3rald.com
Fri, 14 Aug 2009 16:23:40 +0200
1 files changed,
2 insertions(+),
1 deletions(-)
jump to
M
resources/js/slider.js
→
resources/js/slider.js
@@ -46,6 +46,7 @@ // go find the navigation link that has this target and select the nav
function trigger(data) { var el = $('#slider .navigation').find('a[href$="' + data.id + '"]').get(0); selectNav.call(el); + $.scrollTo('#header'); } if (window.location.hash) {@@ -64,7 +65,7 @@ || 0) * -1;
var scrollOptions = { -target: $scroll, // the element that has the overflow + target: $scroll, // the element that has the overflow // can be a selector which will be relative to the target items: $panels,