Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#4416 closed feature (fixed)

Add fade effect (implementation included)

Reported by: dohsun Owned by:
Priority: major Milestone: 1.8
Component: ui.effects.* (individual effect) Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Description

Hey, I couldn't for the life of me figure out how to get my dialogs to fade in and fade out without mucking around the UI source code. My solution was to create a new effect called fade. The benefit is now you could use it everywhere where you need fade (untested-I think you can...) and it won't break when you upgrade your JQuery UI.

Attachments (1)

effects.fade.js (619 bytes) - added by dohsun 11 years ago.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by dohsun

Attachment: effects.fade.js added

comment:1 in reply to:  description Changed 11 years ago by dohsun

Replying to dohsun:

Hey, I couldn't for the life of me figure out how to get my dialogs to fade in and fade out without mucking around the UI source code. My solution was to create a new effect called fade. The benefit is now you could use it everywhere where you need fade (untested-I think you can...) and it won't break when you upgrade your JQuery UI.

Forgot to mention, my goal was to get this working:

$("#thedialog").dialog({

show: 'fade', hide: 'fade'

});

Thanks!

comment:2 Changed 11 years ago by Jörn Zaefferer

Component: effects.* (individual effect)ui.dialog
Milestone: TBD1.7.2
Type: featurebug

This should be supported by dialog already, needs verification.

comment:3 Changed 11 years ago by Jörn Zaefferer

Milestone: 1.7.21.8

comment:4 Changed 10 years ago by Scott González

Component: ui.dialogeffects.* (individual effect)
Priority: minormajor
Summary: Fade effect for Dialog (maybe for all JQuery UI)Add fade effect (implementation included)
Type: bugfeature

Changing to effects.* since this is really about a big hole in effects that we have which causes frustration for a lot of users.

Right now the best you can do is provide a number for the show/hide options, which will fade and slide the dialog.

comment:5 Changed 10 years ago by Scott González

Resolution: fixed
Status: newclosed

Fixed in r3447.

comment:6 Changed 10 years ago by Scott González

Note: See TracTickets for help on using tickets.