-1

How to use it? Trying to set up a very basic, default setting xy scroll to the absolutely positioned div.

See http://jsfiddle.net/danielredwood/TWEXC/1/ for a (not) working example.

The plugin's doc are here: http://flesler.blogspot.com/2007/10/jqueryscrollto.html

Mat
  • 202,337
  • 40
  • 393
  • 406
technopeasant
  • 7,809
  • 31
  • 91
  • 149

1 Answers1

1

Got it.

working example here: http://jsfiddle.net/danielredwood/TWEXC/2/

JavaScript:

$(document).ready(function(){
    $('#nav a').click(function(){
        $.scrollTo(this.hash, 800);
        return false;
    });
});
technopeasant
  • 7,809
  • 31
  • 91
  • 149