[jQuery] Trouble with event.stopPropagation();

[jQuery] Trouble with event.stopPropagation();


This is small function for scroll images in div with scroll mouse:
var mouse=function(event, delta) {
_imgFrame.unbind("mousewheel",
mouse);
if (delta > 0) {
_imgFrame.find(_child+":last").clone
().show().prependTo( _imgFrame );
_imgFrame.css("marginLeft",-
_width);
_imgFrame.animate( {marginLeft:0},
_speedWheel, '', function(){
_imgFrame.find(_child
+":last").remove();

event.stopPropagation();

event.preventDefault();
_imgFrame.bind
("mousewheel", mouse);
});
} else if (delta < 0) {
_imgFrame.animate
( {marginLeft:-_width}, _speedWheel, '', function(){

_imgFrame.find(_child+":first").appendTo( _imgFrame );

_imgFrame.css("marginLeft",0);

event.stopPropagation();

event.preventDefault();

_imgFrame.bind("mousewheel", mouse);
});
}
};
When i scroll by obj (imgFrame) with images scrolling with document,
but me need object don`t move, so I try to execute
event.stopPropagation(); and event.preventDefault(); but this function
dosen`t work in this construction.
If I move this function up, they work, but I have scroll too, help me
if (delta > 0) {
event.stopPropagation();
event.preventDefault();
_imgFrame.find(_child+":last").clone().show().prependTo( _imgFrame );
_imgFrame.css("marginLeft",-
_width);
_imgFrame.animate( {marginLeft:0},
_speedWheel, '', function(){
_imgFrame.find(_child
+":last").remove();
_imgFrame.bind
("mousewheel", mouse);
});
}
Thanks