defaults...

defaults...


Hi,
I have a cuestion about the use and abuse of the plugins...
I want to use the next configuration
$('#'+MyChildID)                        
    .dialog({
        title:$(this).html(),
        resize:function(){
     $('#'+MyChildID+" #dialog").height($(this).height()-78);
     $('#'+MyChildID+" #dialog").width($(this).width()-12);
     },                            
        bgiframe:true,
        height:510, width:820, position:'right',
        close: function(){$(this).empty().dialog('destroy');}
    });
This is quite large and I mean to use it in all my application...
I presume I could set up bgiframe:true for all my dialogs, resize: and
close: too...
I prefer just to have to adjust the code in one place...
This is true?
How could I do that?
Thanks for all jquery magic...
--
Perhaps the depth of love can be calibrated by the number of different
selves that are actively involved in a given relationship.
    Carl Sagan (Contact)
    Jaime Ochoa Malagón
    Arquitecto de Soluciones
    Cel: +52 (55) 1021 0774