Can't get ScrollTo to work with keyboard arrows

Posted by adamwstl on Stack Overflow See other posts from Stack Overflow or by adamwstl
Published on 2010-05-11T23:14:03Z Indexed on 2010/05/11 23:24 UTC
Read the original article Hit count: 259

Filed under:
|
|
|

I'm trying to setup the Jquery plugin SerialScroll with Ariel's added keyboard controls.

I'm calling these three JS files:

Html I'm trying to manipulate. Want it to jump from ind-photo to ind-photo on arrow left and right.

<div id="photos">
   <div class="ind-photo"><img src="2.jpg" /></div>
   <div class="ind-photo"><img src="3.jpg" /></div>
</div>

I can't get it to work at all. I know there are likely slight things that are going to be off, but this isn't working at all.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about scrollto