Yes that is what i ended up doing. in the intial instance of my dialog
i added a hide: 'drop', show: 'drop',
drop actually slides to the right and fades. Works like a charm.
what i was really having trouble with here was the syntax. What order
to have the effect for the dialog box. If anyone could explain this,
it would go a long way to me understanding this entirely without
having to have anyone help me.
$('#edpuchat').dialog({
autoOpen: false,
width: 590,
height: 300,
resizable: true,
hide: 'drop',
show: 'drop',
buttons: {
"Close": function() {
$(this).dialog("close");
},
}
});
// Dialog Link
$('#edpuchat_link').click(function(){
$('#edpuchat').dialog('open');
return false;
});
so if i just wanted to add an effect in there then...
Thanks though, i appreciate it.
If someone could explain how to put an animate effect on say, the one
of the buttons I would appreciate it. Such as, resizing the box by
creating a minimize button. That would be most helpful!
On Oct 13, 7:22 am, Scott González <[email protected]> wrote:
> You can pass an animation effect to the show and hide options. There's
> a demo athttp://jquery-ui.googlecode.com/svn/trunk/demos/dialog/animated.html
>
> I'm pretty sure this works in the current stable version even though
> that demo isn't live on jqueryui.com/demos yet. The effects that you
> can pass are any of the effects that come with jQuery UI (see the
> Effects section athttp://jqueryui.com/downloador demos
> athttp://jqueryui.com/docs/show/). Unfortunately we don't have just a
> fade right now. However, you can pass a number and that will be used
> as a duration for a fade/resize effect.
>
> On Oct 12, 9:10 am, Rebelj12a <[email protected]> wrote:
>
>
>
> > I have a modal dialogue box, well several, and i would like them to
> > fade in and fade out when opened and closed.
>
> > Is this possible?
>
> > Alternately, is this advisable? How client intensive would this be. (I
> > have already had some people having problems with speed and movement
> > when dragging, although i myself have not)
>
> > Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---