Opened 13 years ago
Closed 13 years ago
#3691 closed bug (invalid)
need help with event.stopPropagation();
Reported by: | motoroller | Owned by: | flesler |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | event | Version: | 1.2.6 |
Keywords: | Cc: | motoroller | |
Blocked by: | Blocking: |
Description
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);
});
}
};
this is small function which make scroll, but problem in this events dosen
t work
event.stopPropagation();
event.preventDefault();
why
Change History (1)
comment:1 Changed 13 years ago by
Cc: | motoroller added |
---|---|
Component: | unfilled → event |
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This is not the place for help requests, only to report bugs or propose features for jQuery's core and a couple of official plugins. I'd advice you to ask for help on jQuery's google group.