Skip to main content

Search and Top Navigation

#5162 closed bug (worksforme)

Opened February 10, 2010 03:42PM UTC

Closed May 03, 2010 07:37PM UTC

hide() using a slide effect with direction "down" not working

Reported by: inf0rmer Owned by:
Priority: major Milestone: 1.9.0
Component: ui.effects.* (individual effect) Version: 1.8rc1
Keywords: hide, slide, effects Cc:
Blocked by: Blocking:
Description

The code below (as seen on the Documentation page for the effect) is not working using the latest versions of both jQuery (1.4.1) and jQuery UI 1.8rc1. Tested in the latest versions of Firefox (3.6) and Safari (4.0.4).

$("div").click(function () {
      $(this).hide("slide", { direction: "down" }, 1000);
});

If you change the "direction" argument to "up", the effect is executed properly. Also, if you define a callback, it's triggered automatically once you trigger the hide() behaviour.

Attachments (0)
Change History (3)

Changed February 10, 2010 03:45PM UTC by inf0rmer comment:1

Sorry, the link I provided had an extra comma in it (not yet familiar with Trac's formatting). Anyway, here's the correct link.

Changed February 18, 2010 01:54PM UTC by scottgonzalez comment:2

priority: minormajor

Changed May 03, 2010 07:37PM UTC by ajpiano comment:3

resolution: → worksforme
status: newclosed

This appears to be working and may have simply been a documentation issue.