Welcome To Snipplr
Everyone's Recent Snippets Tagged jquery
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Can also be used to load scriptaculous, or any js file in WP
2
1425
posted 17 years ago by davebowker
I didn't realise until now you could do this in jQuery, very useful. Store a value for later use, then remove it.
4
1563
posted 17 years ago by 1man
You'll need the latest version of [jQuery](http://www.jquery.com) and the jquery.cookie plugin([Snag it here!](http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/))
1
1685
posted 17 years ago by conspirator
Based on templates by luxuryluke and Kevin Hale.
Basic XHTML 1.0 layout which includes basic layout structure and is prepared for jQuery. On load a 'js' class is added to the root element in order to nicely handle graceful degradation if JS is dis...
8
1906
posted 17 years ago by nighthawk
Thanks to Matt Farina
This snippet is useful for preloading content with media that has been received via an AJAX request. For simple preloading of known images, see similar snippet.
6
1607
posted 17 years ago by nighthawk
Thanks to Matt Farina
Also see similar snippet for preloading arbitrary content, e.g. media in content received via AJAX.
14
1749
posted 17 years ago by nighthawk
You will need to download a few things to easily create rounded corners. They are jQuery (http://jquery.com/) and the jQuery rounded corners plug-in (http://www.malsup.com/jquery/corner/).
14
1881
posted 17 years ago by chrisaiv
Go to link location when tab clicked (or selected actually) using 'select' event.
0
1494
posted 17 years ago by ardissoebrata
Based on my Annotations plugin this plugin offers the ability to use Mask annotations to apply input masks over input elements on a page. Very much BETA. See comments for use.
<!--@Mask("##/##/####")-->
0
1389
posted 17 years ago by kouphax
Constraints plugin (requires annotation plugin).
This is the second draft version that has been severly refactoed both internally and externally.
0
1362
posted 17 years ago by kouphax
The annotaion framework provides access to client side comment based DOM annotations. The framework does not imply any specific usage and is essentially useless on it's own. It merely provides another way to offer metadata for elements.
An annota...
1
2581
posted 17 years ago by kouphax
originally posted by penguin999 here:
http://snipplr.com/view/3372/radio-button-values-using-jquery/
2
2114
posted 17 years ago by omixen
https://www.chrisjmendez.com/2008/10/18/jquery-detecting-a-browser-resize/
8
2196
posted 17 years ago by chrisaiv
https://www.chrisjmendez.com/2008/10/18/jquery-common-browser-sniffing/
6
1613
posted 17 years ago by chrisaiv
Use by inserting the following in the head.
<script>
$(document).ready(function() {
$("input").toggleVal();
});
</script>
0
1598
posted 17 years ago by davebowker