Opened 9 years ago

Closed 9 years ago

#5162 closed bug (worksforme)

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.

Change History (3)

comment:1 Changed 9 years ago by inf0rmer

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

comment:2 Changed 9 years ago by Scott González

Priority: minormajor

comment:3 Changed 9 years ago by ajpiano

Resolution: worksforme
Status: newclosed

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

Note: See TracTickets for help on using tickets.