Hi,
I have created a new ticker (used code) which contains thumb nails what i
want to do is when you move mouse over the images it would show the real
size (400 * 400) of the image. but it works onley once the list is loaded, i
mean the tooltip (popup) works only for those photos in the news ticker
which is shown first time and it does not work for those which appear in the
news ticker later. her is my 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>
--
View this message in context:
http://old.nabble.com/thumbPopup-and-news-ticker-tp26635908s27240p26635908.html
Sent from the jQuery UI Discussion mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en.