Bug Tracker

Opened 12 years ago

Closed 12 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 dosent work event.stopPropagation(); event.preventDefault();

why

Change History (1)

comment:1 Changed 12 years ago by flesler

Cc: motoroller added
Component: unfilledevent
Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.