I have a div
and it contains elements like this:
<div class='anyClass' style='float:left'>
<ul class="slider_ctre" id="mycarousel">
<li class="outer_prdcts"><asp:HyperLink ID="hyp0" runat="server" NavigateUrl="http://192.168.20.120/tabid/62/Gifts+++Jewelery/HOuse+Of+Jamal+Attar/Jamal+Collection/0/SKU/1016-1637-2699-0/Default.aspx"><img class="prdct_img_blue" src="/Portals/_default/images/image_1.jpg" alt='' width='100' height='100' /></asp:HyperLink></li>
<li class="outer_prdcts"><asp:HyperLink ID="hyp1" runat="server" NavigateUrl="http://192.168.20.120/tabid/62/Gifts+++Jewelery/HOuse+Of+Jamal+Attar/Jamal+Collection/0/SKU/1016-1637-2699-0/Default.aspx"><img class="prdct_img_blue" src='/Portals/_default/images/image_2.jpg' alt='' width='100' height='100' /></asp:HyperLink></li>
<li class="outer_prdcts"><img class="prdct_img_blue" src='/Portals/_default/images/image_3.jpg' alt='' width='100' height='100' /></li>
<li class="outer_prdcts"><img class="prdct_img_blue" src='/Portals/_default/images/image_4.jpg' alt='' width='100' height='100' /></li>
<li class="outer_prdcts"><img class="prdct_img_blue" src='/Portals/_default/images/image_5.jpg' alt='' width='100' height='100' /></li>
<li class="outer_prdcts"><img class="prdct_img_blue" src='/Portals/_default/images/image_6.jpg' alt='' width='100' height='100' /></li>
</ul>
</div>
I am using jQuery jCarousel Lite to slide these images. My requirement is how can I stop its scrolling on mouseover?
jQuery is:
<script type='text/javascript' language='javascript'>
$(function() {
$('.anyClass').jCarouselLite({
btnNext: '.next',
btnPrev: '.prev',
auto: 200
});
});
</script>
If you are on a page,
and if two or more runs jCarouselLite,
variables o need to explicitly add the extension object in aktiv.
and aktiv changes o.aktiv
before code: aktiv
after code: o.aktiv
finished :D
Apparently, jCarousel Lite does not offer the pause option.
There is a discussion here about making a modification to jCarousel Lite to add a pause option.
According to comments on the jCarousel Lite website, the modifications to the un-minified
jcarousellite.js
file are as follows:Add this to the list of options (under the
o = $.extend({
line).Find this section:
And replace it with this:
Within your
jCarouselLite()
parameters, include it like this...