I cannot get the autoscroll to work with a vertical orientation.
Here is the code I have
I have tried everything I know. Help would be appreciated.
Thank you
Link to live site
http://www.riverainc.com/rcg/careers
Here is the code I have
<div id="jobs" class="scrollable vertical">
<div id="jobItems" class="items"></div>
</div>
<script type="text/javascript">
$("#jobItems").load("../../recruiter/scrolltext_new.php");
$(function() {
// initialize scrollable
$("div.scrollable").scrollable().autoscroll({
vertical:true,
autoplay: true,
api:false,
clickable:true
// use mousewheel plugin
}).mousewheel();
});
alert("");
</script>
CSS
#jobs {
padding: 0px 10px 10px 15px;
width: 280px;
height: 160px;
position: relative;
overflow: hidden;
}
div.scrollable {
position: relative;
overflow: hidden; /* vertical scrollers have typically larger height than width */;
height: 665px;
width: 700px;
}
/* root element for scrollable items */
div.scrollable div.items {
position: absolute; /* this time we have very large space for the height */;
height: 20000em;
}
I have tried everything I know. Help would be appreciated.
Thank you
Link to live site
http://www.riverainc.com/rcg/careers
