jquery scrollTo refuses to work

Posted by hasan on Stack Overflow See other posts from Stack Overflow or by hasan
Published on 2010-05-01T12:09:01Z Indexed on 2010/05/01 12:17 UTC
Read the original article Hit count: 325

Filed under:
|

hey,

ive read all the scrollTo questions and couldnt find the answer. im trying to use the scrollTo plugin for a simple horizontal scroll (the site is horizontally designed).

im using the following code

$(document).ready(function() {
$('#contactlink').click(function(){
$.scrollTo("#conta", {duration: 8000 });
});
});

as is obvious, contactlink is the anchor link while conta is the anchor where the window should scroll to.

i know im missing something very obvious, but as im a beginner with jquery, id appreciate all the help i can get. is there any way to debug the functioning of the plugin?

thanks

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about scrollto