Skip to main content

Bug Tracker

Side navigation

#3691 closed bug (invalid)

Opened December 05, 2008 07:33PM UTC

Closed December 06, 2008 12:19AM UTC

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

Attachments (0)
Change History (1)

Changed December 06, 2008 12:19AM UTC by flesler comment:1

cc: → motoroller
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.