Hi! Im having a issue within a .everytime(2000)...
Inside there i got an .hover , but problem is that when .everytime fires the .hover refires. Is there any way of solving this ?
Hi! Im having a issue within a .everytime(2000)...
Inside there i got an .hover , but problem is that when .everytime fires the .hover refires. Is there any way of solving this ?
I've not used .everytime(), but if I understand your problem, the easiest solution is to do a .unbind('hover').hover() instead of a plain hover(). This should remove any 'hover' events you attached earlier via jQuery. There's some overhead associated with doing this, so if you really don't need to rebind a new hover event, either set a variable inside .everytime() when you've invoked hover() and look for that variable before binding it again (I prefer to do it this way), or set your hover() only once and outside .everytime().