the vertical scrollable scrolled horizontally until i added the horizontal and vertical:
$("#horizontal").scrollable();
$("#vertical").scrollable();
but now the vertical scrollable just budges slightly and doesn't actually scroll.
I'm guessing it has something to do with the scrollable automatically detecting which direction to scroll and since my vertical scrollable is short, that's why it was scrolling horizontally, but now it's not scrolling at all.
I'd really appreciate any assistance. I don't know if it helps, but here's what I'm working with.
<script>
$(function() {
$("#horizontal").scrollable();
});
</script> </div>
<div id="horizontal">
<a class="prev browse left"></a>
<div class="scrollable">
<div class="items">
........
</div>
</div>
<a class="next browse right"></a>
<script>
$(function() {
$("#vertical").scrollable({vertical:true});
});
</script>
<div id="vertical">
<div id="actions">
<a class="prev">« Back</a>
<a class="next">More »</a></div>
<div class="scrollable vertical">
<div class="items">
..............
</div>
</div>
</div>
</div>
UPDATE:
It needs to be
<div class="vertical">
not
<div class="scrollable vertical">
... just in case any other newbies like me have this problem.
Now it works. yay.