Skip to main content

Bug Tracker

Side navigation

#7543 closed bug (fixed)

Opened November 17, 2010 11:06AM UTC

Closed November 17, 2010 06:41PM UTC

Last modified January 31, 2011 04:25PM UTC

Delay() doesn work if Show() duration not specified

Reported by: audriusa83@gmail.com Owned by:
Priority: low Milestone: 1.5
Component: effects Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:
Description

I could not get working the following line:

$('#target').delay(1000).show();

In this case the delay() method would be ignored and the target would show up immediately.

Solution turns out to be very simple, but it took me some time to find it.

Just add any duration to a show() method:

$('#target').delay(1000).show(1);

It seems to be the same issue with other effect methods.

Attachments (0)
Change History (2)

Changed November 17, 2010 06:41PM UTC by dmethvin comment:1

resolution: → fixed
status: newclosed

I've updated the documentation to clarify this.

http://api.jquery.com/delay/

Changed January 31, 2011 04:25PM UTC by john comment:2

component: unfiledeffects
priority: undecidedlow