Kill mousemove event after click in this jquery function
$10-30 USD
Concluído
Publicado há mais de 10 anos
$10-30 USD
Pago na 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