Perhaps you forgot to use jquery.extend() to create your rule plugin, or maybe you should figure out a way to return jquery(jquery.rule) value instead. When I said "unchainable," I meant that methods of the rule object break the chain for successive rule() calls, forcing the coder to insert
;$ to make it work. As for the glitch with IE7, I don't know if the problem lies with Rule 1.0.1 or jQuery 1.2.6, but even though this statement works in IE7: $.rule('a','style').css('color','red'); The following variant: $.rule('a','style').append('color: red'); generates the following error message: Line: 1121 Char: 4 Error: Invalid property value. Code: 0 On Jun 19, 7:54 pm, Ariel Flesler <[EMAIL PROTECTED]> wrote: > > Hence the word "unchainable." > > What do you mean ? The methods of rule objects are chainable, they > always return the rule object. > Of course a rule object doesn't have a 'rule' method that is, in fact, > the rule constructor. > > Is like expecting something like this to work: > > $('div').hide().$('p').show(); > > > Also, your plugin does not work on IE7. > > That's odd, I just tried the demo with my IE7 and it worked > completely, can you describe the problems you find ? > CSS DOM rules are VERY buggy so there'll always be weak points. > Specially for animations. > > Cheers > -- > Ariel Fleslerhttp://flesler.blogspot.com/