I think I understand.

When some element is hidden by hide, display: none; is added to inline
style.

In: $('#click').click(function() { $('#test').css('FILTER', '');
$('#test')[0].style.filter = ''; $('#rmvLink1').hide('slow');});
only filter property is removed, and filter is defined in style list

In: $('#click2').click(function() { $('#test2').removeAttr('style');
$('#rmvLink2').hide('slow');});  all inline style(s) are removed but not
styles defined in style list.

I hope I will help you.

2007/9/5, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
>
> On 5 Sep., 15:00, "Dragan Krstic" <[EMAIL PROTECTED]> wrote:
> > $(".class").css("propertyName","");
>
> Hi again *g*
> perhaps i wasn't precision enough. I won't reset the style-property.
> That is already done by »show()«. I need to remove the property at
> all.
>
> i made a little demo, to show the what i mean:
> http://schep.de/test/test-case/
>
> button1 (#test) will after a click never occure again. The inline-
> style »filter: ;« isn't removed.
> button2 (#test2) is ok, but i've to remove the whole inline-style.
>
> Do you understand what i mean?
>
> greetings
> Patric
>
>


-- 
Dragan Krstić krdr
http://krdr.ebloggy.com/

Reply via email to