Kill mousemove event after click in this jquery function
$10-30 USD
Terminado
Publicado hace más de 10 años
$10-30 USD
Pagado a la entrega
This is a button that follows mouse movement. I would like to stop this button when mouse is clicked on it!
jQuery( document ).ready( function() {
$( "#enbfb-button-wrapper-5" ).parent().mousemove( function( e ) {
jQuery( "#enbfb-button-wrapper-5" ).css( {
top: [login to view URL] - 10, left: [login to view URL] + 30
} );
} );
I think I have to kill mousemove! Someone can help me?
thanks