I am using Jquery tools scrollable plugin. I want to scroll through a list of images one at a time on mouse wheel movement. But am not able to achieve this through the code I am working on. Please help.
Edit : Scrolling occurs through press of UP and DOWN arrows but not through mousewheel.
The HTML :
<div class = "scrollable vertical">
<div class = "items">
<div><div class = "item"></div></div>
<div><div class = "item"></div></div>
<div><div class = "item"></div></div>
</div>
</div>
Jquery code :
$(document).ready(function() {
$('.scrollable').scrollable({vertical : true, mousewheel : true});
});
CSS :
.scrollable {
position:relative;
overflow:hidden;
height: 150px;
width: 150px;
}
.scrollable .items {
position:absolute;
height:20000em;
}