Greaaat!
Thank you!
My div are draggables and resizables.
Now I would like to restore them in the previous state they were
before I first click on it.
Is that possible, please?
Thanks!
-Gildas
On May 6, 6:54 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote:
> $(this).attr('style', "");
>
> -or-
>
> $(this).removeAttr('style');
>
> - Richard
>
> On Tue, May 6, 2008 at 9:51 AM, Gildas <[EMAIL PROTECTED]> wrote:
>
> > Hello people!
>
> > I'm looking for a solution to put div properties to initial state.
>
> > Explanation :
> > $("div").toggle(function(){
> >$(this).animate({
> >width : "90%",
> >height : "90%",
> >left : "5%",
> >top : "5%"
> >},500);
> >},function(){
> > //Reinitialization of initial values which are
> > described in the CSS file
> >});
>
> > Thank you!