Search code examples
javascriptjqueryjcarousel

Fire Javascript Function on all visible images in jCarousel


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: 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.


Solution

  • 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.