$(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!
>

Reply via email to