Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated Readme and License

  • Loading branch information...
commit 8e8e7fd0595683fed17e07b3fbe681985e495f05 1 parent 229d303
@itsalif authored
Showing with 67 additions and 17 deletions.
  1. +21 −0 LICENSE
  2. +46 −17 README
View
21 LICENSE
@@ -0,0 +1,21 @@
+The MIT License
+
+Copyright (c) 2010 Abdullah Rubiyath <http://www.itsalif.info/>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
63 README
@@ -1,21 +1,50 @@
-The MIT License
+# ezMark jQuery Plugin v 1.1
-Copyright (c) 2010 Abdullah Rubiyath <http://www.itsalif.info/>
+ ezMark is a jQuery Plugin that allows you to stylize Radio button and Checkbox easily. Its very small
+ (minified version is ~1.5kb) compared to other similar scripts. It has been tested and works on all
+ major browsers (IE 6/7/8, Firefox, Safari, Chrome).
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
+# How to Use
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
+ At first include the CSS and JS files.
+
+ CSS:
+ <link rel="stylesheet" href="css/ezmark.css" media="all">
+
+ JS:
+ <script type="text/javascript" language="Javascript" src="jquery.ezmark.js"></script>
+
+ Then simply call the following method:
+ $('selector').ezMark([options]);
+
+ You can customize to selector to apply only to checkbox or radiobuttons, like below:
+ // to apply only to checkbox use:
+ $('input[type="checkbox"]').ezMark();
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
+ // for only radio buttons:
+ $('input[type="radio"]').ezMark();
+
+# Parameters / Options
+
+ Optional Parameter accepts the following JSON properties:
+
+ Parameter's (JSON) Properties: Explanation/Details of the Property
+ checkboxCls The Checkbox Class as per declaration on CSS.
+ checkedCls The Checkbox Class on Checked State
+ radioCls The Radio button's Class as per CSS
+ selectedCls The Radio Button's Class on selected State
+
+ To customize the default checkbox/radiobutton image, change the background image
+ (checkbox-black.png/radio-black.png) and CSS (ez-checkbox/ez-radio) and (ez-checked/ez-selected) accordingly.
+
+ For detailed usage, please check out usage.html file.
+
+# Online Documentation / Demo
+
+ Online Documentation:
+ http://www.itsalif.info/content/ezmark-jquery-checkbox-radiobutton-plugin
+
+ Online Demo:
+ http://www.itsalif.info/content/demo-ezmark-jquery-plugin/
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.