Welcome To Snipplr
Everyone's Recent jQuery Snippets Tagged class
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
Add class .green to class .payment-container and make it flash every 3 seconds
0
706
posted 8 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
829
posted 12 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
482
posted 12 years ago by gellpak
I notice a lot of addClass/removeClass.. thought maybe I'd post an example on how to simplify that....
0
909
posted 14 years ago by quickredfox
« Prev 1 Next »