Welcome To Snipplr


Everyone's Recent Snippets Tagged jquery



1 433 posted 14 years ago by iTony
https://www.chrisjmendez.com/2008/10/18/jquery-detecting-a-browser-resize/
8 884 posted 14 years ago by chrisaiv
https://www.chrisjmendez.com/2008/10/18/jquery-common-browser-sniffing/
6 553 posted 14 years ago by chrisaiv
Use by inserting the following in the head. <script> $(document).ready(function() { $("input").toggleVal(); }); </script>
0 689 posted 14 years ago by davebowker
setting additional css file for browsers under MacOS with JQuery
0 473 posted 14 years ago by DesTincT
Update: Fixed a bug at the basic click() function.
1 409 posted 14 years ago by Wiederkehr
0 413 posted 14 years ago by trey
5 579 posted 14 years ago by trey
jQuery Plugin for returning selected DOM Nodes in DOM order. e.g. $('img.L,img.Y') will not be guaranteed DOM order (usually all the L's then all the Y's). Currently only works with IE and FF (that's all I needed).
1 517 posted 14 years ago by kouphax
17 3093 posted 14 years ago by conspirator
Two different ways to open an external link (ones that start in http) in a new window. I know this isn't a great thing to do, but some clients _need_ to have it.
3 864 posted 14 years ago by 1man
This is basically the code given in the book "learning jQuery " by Chaffer J & Swednerg K.
5 737 posted 14 years ago by stavelin
this requires jquery.js, jquery.metadata.js, and jquery.validate,js
2 512 posted 14 years ago by bcalloway
jQuery Sketch Plugin
1 533 posted 14 years ago by gfazioli
Borrowed from Ajaxian, url is above.
0 497 posted 14 years ago by mikegreen
https://www.chrisjmendez.com/2008/09/21/jquery-ensure-that-at-least-one-checkbox-is-selected/
4 602 posted 14 years ago by chrisaiv
For user-friendly animations on hover event. Prevents repeating animations when hovering object many many times. Example needs "jquery.color" plugin for color animations. But you can use any animations you want.
0 455 posted 14 years ago by DesTincT
jQuery script for navigation image rollovers
6 481 posted 14 years ago by bcalloway
2 497 posted 14 years ago by crazylion
Uses jQuery to add a class to odd table rows, for purposes of alternating colors, etc.
1 529 posted 14 years ago by breakerjump
Can use without jquery
2 835 posted 14 years ago by DesTincT