Welcome To Snipplr


Everyone's Recent Snippets Tagged jquery



1 ... 8 9 10 11 12 ... 44
Useful jQuery for mutliple items on a page that are using the same jquery function and classes to perform an action. By traversing the dom like this the function will only be applied to the item you are clicking on and not all elements on the page th...
0 908 posted 13 years ago by i-am-andy
This was for a "Sport Landing Page" where people can select their outfits. There is intial intro box that gets cleared on the first selection. The thumbnails popout on hover. And there is a clear function that takes out all the products selected to j...
0 879 posted 13 years ago by cpres
Really simple jQuery random image
0 817 posted 13 years ago by i-am-andy
0 845 posted 13 years ago by craymond
Initializing a popup
1 752 posted 13 years ago by cpres
By omitting [end] it will remove all to the end. Set an [end] with a negative value to count back from the end of the elements. fadeOut is unnecessary.
0 867 posted 13 years ago by lewiswalsh
An additional method for the jQuery validation plugin to validate a german date (dd.mm.YYYY) based on DateITA method.
0 1255 posted 13 years ago by tuuul
This is just a simple explanation of how to use the HTML5 local storage in javascript. The link has a more thorough explanation and an example for those interested. The examples to save, retrive, and clear are marked below.
0 801 posted 13 years ago by FatFolderDesigner
Select dinamico para el cambio de
0 741 posted 13 years ago by serialk89
input focus&blur actions
0 651 posted 13 years ago by mortu
0 770 posted 13 years ago by kbrown
CSS: .error style the error class Form HTML: class="required" makes the input field required minlength="2" makes the field require at least 2 characters
0 864 posted 13 years ago by redconservatory
image rollovers in jquery are usually super easy. However it sucks when working with absolute image paths - like a separate media server or CDN. Heres a quick snippet using substring and lastIndexOf to swap out the image src.
0 860 posted 13 years ago by inreflection7
0 634 posted 13 years ago by focal55
1 900 posted 13 years ago by xavsio4
Add attribute to links to open them in a new window. Example - rel="external". Alternative to target="_blank", conforming to XHTML specification.
0 1055 posted 13 years ago by Huskie
0 608 posted 13 years ago by gamblelyn
Permanent link to latest minified jQuery release at jQuery.com
0 716 posted 13 years ago by Huskie
This is a little function that dynamically resizes the navigation, taking into account the size of the item width as well
0 740 posted 13 years ago by buzzswarbrick
We use our own dialog code, but the jQuery method of creating an overlay works well, so this is taken from the jQuery UI code and simplified.
0 740 posted 13 years ago by mejamiewilson
This is a simple example of the google maps javascript API v3. If you want a map with a marker this is the minimum you need to do to get it done. Theres more talk about how it's all set up, and how to use the other static image map as well at the lin...
1 971 posted 13 years ago by FatFolderDesigner
0 651 posted 13 years ago by smashu
0 889 posted 13 years ago by silentpro
1 ... 8 9 10 11 12 ... 44