Flesler wrote: > The plugin is meant to work well in IE6 and FF2, Windows, that's what > I tested on. CSS rules are quite buggy among browsers, so I don't > think it will survive in most untested environments. > Example: http://www.freewebs.com/flesler/jQuery.Rule/ >
I did some testing on Windows platform... The example page seems to work perfectly in * IE 7.0.5730.11 * Firefox 2.0.0.9 * Firefox 3.0b1 Opera 9.24 has trouble with .remove() - the following had no effect: $.rule('#content ul','style').remove(); $.rule('textarea','link').remove(); $.rule('span','link').remove(); $.rule('button','link').remove(); The other things worked in Opera though so it's getting there ;) I've not tested in any other browsers (or versions of browsers). I assume there is some way to say "get the styles applied to element X and apply the same styles to element Y"? Guy