Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged class



« Prev 1 Next »
Add class .green to class .payment-container and make it flash every 3 seconds
0 1117 posted 9 years ago by envane21
This function will detect the orientation (portrait/landscape) of an iOS device and set the body class to either portrait or landscape, as well as providing a global variable for use elsewhere in your JS. If you require multiple classes on your bo...
3 1313 posted 13 years ago by iridium
This function follows the following naming conventions: Give your checkboxes ID tags of "[contenttitle]trigger", where [contenttitle] is whatever you like. Then, give your hide-able content classes that match, without the "trigger". This function wil...
0 789 posted 14 years ago by gellpak
0 926 posted 14 years ago by beso
1 933 posted 14 years ago by sb_01
1 1113 posted 14 years ago by xz
I notice a lot of addClass/removeClass.. thought maybe I'd post an example on how to simplify that....
0 1348 posted 15 years ago by quickredfox
« Prev 1 Next »