/** * jQuery.LocalScroll * Copyright (c) 2007-2008 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com * Dual licensed under MIT and GPL. * Date: 3/10/2008 * * @projectDescription Animated scrolling navigation, using anchors. * http://flesler.blogspot.com/2007/10/jquerylocalscroll-10.html * @author Ariel Flesler * @version 1.2.5 * * @id jQuery.fn.localScroll * @param {Object} settings Hash of settings, it is passed in to jQuery.ScrollTo, none is required. * @return {jQuery} Returns the same jQuery object, for chaining. * * @example $('ul.links').localScroll(); * * @example $('ul.links').localScroll({ filter:'.animated', duration:400, axis:'x' }); * * @example $.localScroll({ target:'#pane', axis:'xy', queue:true, event:'mouseover' }); * * Notes: * - The plugin requires jQuery.ScrollTo. * - The hash of settings, is passed to jQuery.ScrollTo, so the settings are valid for that plugin as well. * - jQuery.localScroll can be used if the desired links, are all over the document, it accepts the same settings. * - If the setting 'lazy' is set to true, then the binding will still work for later added anchors. * - The setting 'speed' is deprecated, use 'duration' instead. * - If onBefore returns false, the event is ignored. **/ eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}(';(3($){c q=d.k.p(/#.*/,\'\');c $5=$.5=3(2){$(\'A\').5(2)};$5.i={B:C,z:\'y\',m:\'K\',l:G};$5.6=3(2){2=$.n({},$5.i,2);2.6=t;b(d.6)F(3(){g(0,d,2)},0)};$.I.5=3(2){2=$.n({},$5.i,2);j(2.E||2.H)?7.u(2.m,3(e){c a=$([e.4,e.4.J]).8(8)[0];a&&g(e,a,2)}):7.D(\'a\').8(8).u(2.m,3(e){g(e,7,2)}).o().o();3 8(){j!!7.k&&!!7.6&&7.k.p(7.6,\'\')==q&&(!2.8||$(7).x(2.8))}};3 g(e,f,2){c h=f.6.W(1),9=r.U(h)||r.L(h)[0];b(9){e&&e.X();c $4=$(2.4||$.w.S());b(2.T&&$4.x(\':N\')||2.s&&2.s.M(f,e,9,$4)===t)j;b(2.l)$4.v(\'O\',[]).l();$4.w(9,2).P(\'R.Q\',[9]);b(2.6)$4.v(3(){d=f.6})}}})(V);',60,60,'||settings|function|target|localScroll|hash|this|filter|elem||if|var|location||link|scroll|id|defaults|return|href|stop|event|extend|end|replace|URI|document|onBefore|false|bind|queue|scrollTo|is||axis|body|duration|1000|find|persistent|setTimeout|true|lazy|fn|parentNode|click|getElementsByName|call|animated|fx|trigger|serialScroll|notify|window|lock|getElementById|jQuery|slice|preventDefault'.split('|'),0,{}))