Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

Releases for Rule


Rule 1.0.1

Download: jquery.rule-1.0.1.zip
Size: 11.57 KB
md5_file hash: 062270d873f9cadab8194363e1e91ad2
First released: February 28, 2008 - 2:55am

1.0.1
[Fix]
- Small fix for Opera 9.55. The created demanded a closing slash.
- Fixed the exclusion of $.rule's sheet in $.rule.sheets(). Thanks to Adrien Gibrat for noticing.
- Literal rules were split by ','. That would break comma-separated selectors. Reported by Adrien Gibrat.
Note that IE doesn't support comma-separated selectors in the addRule method. This could be worked around but would
cause different results among browsers, so just now that it fails in IE and it should not be used.
[Optimization]
- Added a cleanup of the local storage on window.unload
[Docs]
- Added some notes to the source file (jquery.rule.js).
[Change]
- Relicensed from GPL to GPL+MIT.

Rule 1.0.0

Download: jquery.rule_0.rar
Size: 21.8 KB
md5_file hash: 9235701f3b633a0a31f9e6e95c09c457
First released: December 29, 2007 - 11:08am

1.0.0
- Added semicolon to the start, for safe file concatenation
- Minor changes for perfomance
- Saved $.rule in a variable to make compressed code much shorter.
- Replaced the 'x:y' for IE when creating empty rules for ';'.
- Made many changes tp $.rule.fn.filter:
* The filtering function used to get element & index as arguments instead of element as 'this' and index as 1st argument.
* String filters are no longer turned into regex, now they are compared (case insensitive) to each (splitted by comma) selector.
- $.data and $.removeData have been extended ( hacked :) ). Instead of the element(rule), they get an empty hash, stored in $.rule.cache.
- The changes in $.data allow cross browser animations. They need some aggressive testing.
- Added show/hide/toggle and slide functions to $.rule.fn.
- Improved the hack to $.curCSS, it returns some default values in case none is set, for animations. It needs some more work.

Rule 1.0

Download: jquery.rule.rar
Size: 21.8 KB
md5_file hash: 9235701f3b633a0a31f9e6e95c09c457
First released: December 29, 2007 - 11:07am

1.0
- Added semicolon to the start, for safe file concatenation
- Minor changes for perfomance
- Saved $.rule in a variable to make compressed code much shorter.
- Replaced the 'x:y' for IE when creating empty rules for ';'.
- Made many changes tp $.rule.fn.filter:
* The filtering function used to get element & index as arguments instead of element as 'this' and index as 1st argument.
* String filters are no longer turned into regex, now they are compared (case insensitive) to each (splitted by comma) selector.
- $.data and $.removeData have been extended ( hacked :) ). Instead of the element(rule), they get an empty hash, stored in $.rule.cache.
- The changes in $.data allow cross browser animations. They need some aggressive testing.
- Added show/hide/toggle and slide functions to $.rule.fn.
- Improved the hack to $.curCSS, it returns some default values in case none is set, for animations. It needs some more work.

Rule 0.9.2

Download: jquery.rule_4.zip
Size: 48.52 KB
md5_file hash: 40145a25be89d376fc7f436574540e2b
First released: November 22, 2007 - 11:56pm

0.9.2
- Added queue,dequeue,animate and stop to $.rule.fn (non-IE)
- Hacked $.curCSS to make the animations work.
- remove() works in Opera 9 and Safari Win!
- Opera needed 'alternate' in the rel of stylesheet
- Safari wanted the sheet to be disabled, not the node.
- $.rule.fn.filter now supports a regex as filter.

Rule 0.9.1

Download: jquery.rule_3.zip
Size: 47.21 KB
md5_file hash: 1cc71e4db19dd7204260848afadbec01
First released: November 22, 2007 - 1:13am

- Just forgot to change one url in the example.

Rule 0.9

Download: jquery.rule_2.zip
Size: 47.22 KB
md5_file hash: d865a0c01abc038872c56e0353a467d3
First released: November 22, 2007 - 1:08am

0.9
- Made the code work faster.
- Extended $.fn with ownerNode,sheet,cssRules and cssText.
- Added text and outerText to $.rule and $.rule.fn.
- Made the example nicer.
- Removed $.fn.collect.
- Added a list of methods, with description for each.

Rule 0.8-dev

Download: jquery.rule_1.zip
Size: 45.83 KB
md5_file hash: c60483bf48346034cc62d46438742c64
First released: November 9, 2007 - 1:40am

0.8
- Fixed all those "access denied" from IE, and some similar errors for FF.
- Unused rules, are now kept in a disabled stylesheet.
- The stylesheet needs to remain in the document, but won't match the selectors.
- jQuery's css and attr is used entirely
- Now selectors match subparts of css selectors.
- Fixed a bug, IE doesn't accept empty rules ( selector{ } )
- Literal rules can include many attributes ( ';' separated )
- Many literal rules can be passed in to the factory at once ( ',' separated )

Rule 0.6-dev

Download: jquery.rule_0.zip
Size: 17.19 KB
md5_file hash: 150c0ceb51e48c8b9040e2939416fc7f
First released: November 6, 2007 - 8:33pm

- The 'css' function works better, and it uses jQuery.prop.
- The rules now have not, is, filter, add, andSelf. That work ok.

-A workaround was found for IE's not having 'parentStyleSheet' in the rules, but now another problem arised, and IE doesn't allow checking attributes from Rules that are free of stylesheet.

Rule 0.5-dev

Download: jquery.rule.zip
Size: 16.63 KB
md5_file hash: ee05b2a25c4df3c2f47548b431d87574
First released: November 6, 2007 - 3:28am

- First release, experimental.