2011-05-18, 15:38:51
(This post was last modified: 2011-05-18, 15:40:03 by sameenajaved.)
I'm trying out vTicker, to replace the original MooTools file, however, I'm not getting anything. So the following is what I have wrote in the sidebar section.
Code:
<h2>News and Events</h2>
<script type="text/javascript" src="<?php get_theme_url(); ?>/assets/js/jquery.vticker-min.js"></script>
<script type="text/javascript" src="<?php get_theme_url(); ?>/assets/js/jquery-1.6.1.min.js"></script>
<div id="scroller">
<ul>
<li>Some Sample Text</li>
<li>Some Sample Text</li>
<li>Some Sample Text</li>
</ul>
</div>
<script type="text/javascript">
$(function(){
$('#scroller').vTicker({
speed: 500,
pause: 6000,
animation: 'fade',
mousePause: true,
showItems: 1
});
});
</script>