I have a jQuery tooltip plugin that displays a tooltip when I hover over a anchor tag.
I have modified my jCarousel so that my images are contained in anchor tags. When I hover over the first batch of images the tooltip hover function gets called. However, when the next batch of images come into view, the tooltip function does not get called again.
I have created a basic example of my issue here: 开发者_StackOverflow社区http://jsfiddle.net/QAFZX/3/
I have tried using the itemVisibleInCallback callback but that doesn't allow my function to fire on all visible images.
You made a function that requires a parameter, and when you called the function, you didn't bring the parameter!
itemLastInCallback: {
onAfterAnimation: afterAnimationLastInCallback($(this))
}
instead of:
itemLastInCallback: {
onAfterAnimation: afterAnimationLastInCallback
}
Fixed it for you, click here
I managed to fix this issue by using a different javascript tooltip. So that on mouseover and mouseout elements on my image would either show or hide the tooltip.
精彩评论