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 89 posted 4 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 88 posted 8 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 55 posted 9 years ago by gellpak
0 65 posted 9 years ago by beso
1 67 posted 9 years ago by sb_01
1 87 posted 9 years ago by xz
I notice a lot of addClass/removeClass.. thought maybe I'd post an example on how to simplify that....
0 133 posted 10 years ago by quickredfox
« Prev 1 Next »