[jQuery] Re: remove a single css-property?

2007-09-06 Thread [EMAIL PROTECTED]
Hi, now i've found a solution, which removes only the inline-style- property »filter«. :-) i've changed $('#test').show('slow', function() { $('#test').css('FILTER', ''); $('#test')[0].style.filter = ''; }); to $('#test').show('slow', function() {

[jQuery] Re: remove a single css-property?

2007-09-05 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: is there any solution to remove a single css-property? i've the problem, that .show() leaves filter: ; in the inline-style (MSIE). now i want to remove only this property, but only this and not e.g. the whole inline-style (.removeAttr('style')). is there a plugin or a

[jQuery] Re: remove a single css-property?

2007-09-05 Thread Dragan Krstic
$(.class).css(propertyName,); 2007/9/5, [EMAIL PROTECTED] [EMAIL PROTECTED]: is there any solution to remove a single css-property? i've the problem, that .show() leaves filter: ; in the inline-style (MSIE). now i want to remove only this property, but only this and not e.g. the whole

[jQuery] Re: remove a single css-property?

2007-09-05 Thread [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:

[jQuery] Re: remove a single css-property?

2007-09-05 Thread Dragan Krstic
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

[jQuery] Re: remove a single css-property?

2007-09-05 Thread Theodore Ni
I don't have time right now to look at this in depth, but other than putting the filter style inline on each of your objects, the only other way I can see to fix this is to somehow modify the jQuery code to first grab the current filter style from currentStyle or something along those lines. I