I have a vertical news ticker which contains ul li and img and what i
want to do is when you have mouse over the img it will be like a
tooltip and show the real size of the imag.
the news ticker works fin but the problem is, the mouse over works
just once. i mean it works just for those images was loaded first time
not those image which slide down to the list, nothing happend here is
the code
thanks for your help
<script src="scripts/jquery-1.3.2.min.js" type="text/javascript"></
script>
<script src="scripts/jquery.thumbhover.js" type="text/javascript"></
script>
<script type="text/javascript">
$(document).ready(function(){
$("img").thumbPopup({
imgLargeFlag: "_l"
});
var speed = 1500;
var pause = 4000;
interval = setInterval(newsticker, pause);
function newsticker()
{
last = $('ul#listticker li:last').hide().remove();
$('ul#listticker').prepend(last);
$('ul#listticker li:first').slideDown(speed);
last2 = $('ul#listticker2 li:last').hide().remove();
$('ul#listticker2').prepend(last2);
$('ul#listticker2 li:first').slideDown("slow");
}
});
</script>
No comments:
Post a Comment