Skip to content

Commit

Permalink
Updated README, minified latest version, and note about version of jQ…
Browse files Browse the repository at this point in the history
…uery required
  • Loading branch information
Josh Pyles committed Jun 18, 2010
1 parent 3d22e9a commit 6d37181
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion README.textile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
h2. Installation

Installation of Uniform is quite simple. First, make sure you have jQuery 1.3+ installed. Then you’ll want to link to the jquery.uniform.js file and uniform.default.css in the head area of your page:
Installation of Uniform is quite simple. First, make sure you have jQuery 1.4+ installed. Then you’ll want to link to the jquery.uniform.js file and uniform.default.css in the head area of your page:

bc. <script src="jquery.uniform.js" type="text/javascript"></script>
<link rel="stylesheet" href="uniform.default.css" type="text/css" media="screen" charset="utf-8" />
Expand Down Expand Up @@ -161,6 +161,12 @@ If you are lazy, or just don’t specifically know which element to update, you

@$.uniform.update();@

h3. $.uniform.restore([elem/selector string]);

If you want to "un-uniform" something, simply call this function. It will remove the inline styles, extra dom elements, and event handlers, effectively restoring the element to it's previous state.

@$.uniform.restore("select");@

h3. $.uniform.elements[]

You can get an array of all the elements that have been Uniformed at any time using this public variable. Wouldn’t advise changing the contents though!
Expand Down
2 changes: 1 addition & 1 deletion jquery.uniform.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Uniform v1.5
Copyright © 2009 Josh Pyles / Pixelmatrix Design LLC
http://pixelmatrixdesign.com
Requires jQuery 1.3 or newer
Requires jQuery 1.4 or newer
Much thanks to Thomas Reynolds and Buck Wilson for their help and advice on this
Expand Down
2 changes: 1 addition & 1 deletion jquery.uniform.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6d37181

Please sign in to comment.