1.0.1 • Published 7 years ago

jquery.oddeven.js v1.0.1

Weekly downloads
1
License
Apache 2.0
Repository
github
Last release
7 years ago

jQuery-oddEven.js

Easily Select Odd and Even Both Javascript , CSS and more. To save your time coding and managing stuff. Just for fun

#How to Use : ##Select Even Or Odd

jQuery(yourselector).even(); // Select Even 

jQuery(yourselector).odd(); // Select Odd 

jQuery(yourselector).oddcolor(color); // Change Odd Color 

jQuery(yourselector).evencolor(color) // Change Even Color 

jQuery(yourselector).evenbgcolor(color) // Change Even Background Color 

jQuery(yourselector).evencss(cssselector,cssproperty) // Set Css for even 

jQuery(yourselector).oddcss(cssselector,cssproperty) // Set CSS For Odd 

##Select Both Even and Odd

jQuery(yourselector).evenoddbgcolor(evenbgcolor,oddbgcolor); 

jQuery(yourselector).oddevenbgcolor(oddbgcolor,evenbgcolor); 

jQuery(yourselector).evenoddcolor(evencolor,oddcolor);

jQuery(yourselector).oddevencolor(oddcolor,evencolor);

jQuery(yourselector).evenoddcss(evencss,evencssproperties,oddcss,evenproperties) ; 

jQuery(yourselector).oddevencss(oddcss,oddcssproperties,evencss,evenproperties) ;

EvenOdd mean the first parameter start with even. Oddeven mean the first parameter start with odd.

Easy right !! This is a small fun project I made but I think it is going to save time for many upcoming project.

If you guys are great at designing ux and coding stuff. You can easily contribute to this project by fork and pull.

Thank you