Search and Top Navigation
#8012 closed bug (notabug)
Opened January 14, 2012 09:04AM UTC
Closed January 14, 2012 07:41PM UTC
Unable to stop custom queue
Reported by: | nicolechen | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.effects.core | Version: | 1.8.17 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$('#some-elem').mouseenter(function(e) { funcs = new Array(); elem = $(this); funcs.push(function() { elem.delay(500); // queue name doesn't work here. Adding it will mean delay() has no effect. // class1 and class2 involve background-image, sprites. elem.switchClass('class1', 'class2', 1); elem.dequeue('custom-q'); // queue name works here. Misspelling it will stop queue. }); $(this).queue('custom-q', funcs); $(this).dequeue('custom-q'); $(this).stop('custom-q', true, true); // Queue does not stop. Omitting custom queue name from above stop() command WILL stop queue. // Is a custom queue popped into 'fx' queue upon dequeue? }); $('#some-elem').mouseleave(function(e) { // Obviously, this doesn't work. Even in mouseenter, it didn't. $(this).stop('custom-q', true, true); });
Attachments (0)
Change History (1)
Changed January 14, 2012 07:41PM UTC by comment:1
_comment0: | This doesn't sound like you're reporting a bug about about jQuery UI. If you're bug is related to `.queue()`, use the [http://bugs.jquery.com jQuery core bug tracker]. → 1326570133002779 |
---|---|
resolution: | → invalid |
status: | new → closed |
This doesn't sound like you're reporting a bug about about jQuery UI. If your bug is related to
.queue()
, use the jQuery core bug tracker.