Stop Slide Effect with clearQueue
HTML
<img id="shakeMe" src="http://shaggybevo.com/board/customavatars/avatar24739_1.gif" />
<img id="stopShake" title="click me to stop Bevo from shaking!!" src="http://shaggybevo.com/board/customavatars/avatar24729_3.gif"/>
CSS
.img{padding:10px;margin:10px;display:block;}
JavaScript
//shake the image
$("#shakeMe").effect( "shake", { times:300 } ,300 );
//click another image to make it stop
$("#stopShake").click(function(){
$("#shakeMe").clearQueue();
});