Use `mouseenter` and `mouseleave`: http://jsfiddle.net/UpaUJ/1/
On Feb 3, 2012, at 1:42 PM, bootsman wrote: > I am building a web application in which I am having users add images > to list. I want users to give the ability to delete images from that > list by hovering over an image and then clicking a delete button. > > What I currently have is at: > http://jsfiddle.net/UpaUJ/ > > And as can be seen there is a problem when one hovers over the area in > which the delete button is rendered; it starts flickering. Hopefully > anyone has a solution for this problem. > > Thanks in advance, > > Bas >
