Set effect options on dialog open/close

Set effect options on dialog open/close


View demos at http://labs.cloudream.name/jquery/dialog/dialog.html
It uses a modify version of dialog.js.
You may use old show options without effects:
show:2000
or
show:"fast"
OR use a string to effect simply(so it is compatible with 1.5.1):
show:"drop"
OR set effect options:
show:{
effect:"drop",
options:{direction:"right"},
speed:1000
}
patch: http://ui.jquery.com/bugs/attachment/ticket/2358/dialog.patch
The same to 'hide' option.