rvera / image-picker

Image Picker is a simple jQuery plugin that transforms a select element into a more user friendly graphical interface.
http://rvera.github.com/image-picker
Other
907 stars 216 forks source link

action if mouseover #83

Closed manuele89 closed 7 years ago

manuele89 commented 7 years ago

Hi,

how can I execute an action when the user move the mouse over the image?

Thank You

Manuele

SgtOddball commented 7 years ago

You've got a couple of options but it really depends on just what you're trying to do. You could use CSS hover events or if you're after something else more complex you'd need a javascript/jQuery listener applying after image-picker has drawn the images on screen.

Can you elaborate as to what you're trying to do?

rvera commented 7 years ago

This goes a bit out of scope of the picker.

I think what @SgtOddball recommended is the best option.