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 1664 posted 14 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 1553 posted 14 years ago by cpres
Really simple jQuery random image
0 1498 posted 14 years ago by i-am-andy
0 1589 posted 14 years ago by craymond
Initializing a popup
1 1499 posted 14 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 1817 posted 14 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 2155 posted 14 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 1630 posted 14 years ago by FatFolderDesigner
Select dinamico para el cambio de
0 1515 posted 14 years ago by serialk89
input focus&blur actions
0 1228 posted 14 years ago by mortu
0 1524 posted 14 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 1748 posted 14 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 1734 posted 14 years ago by inreflection7
0 1263 posted 14 years ago by focal55
1 1732 posted 14 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 1952 posted 14 years ago by Huskie
0 1196 posted 14 years ago by gamblelyn
Permanent link to latest minified jQuery release at jQuery.com
0 1414 posted 14 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 2362 posted 14 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 1526 posted 14 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 1854 posted 14 years ago by FatFolderDesigner
0 1288 posted 14 years ago by smashu
0 2651 posted 14 years ago by silentpro
1 ... 8 9 10 11 12 ... 44