Welcome To Snipplr
Everyone's Recent jQuery Snippets Tagged jquery
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
687
posted 12 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
693
posted 12 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
680
posted 12 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
1033
posted 12 years ago by tuuul
Add attribute to links to open them in a new window. Example - rel="external". Alternative to target="_blank", conforming to XHTML specification.
0
828
posted 12 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
588
posted 12 years ago by buzzswarbrick
The code is in three parts, a HTML layout (with some requirements I'll go over below), some CSS code (again, requirements below) and the actual jQuery code. I go over all the code in detail at the link, but I'll give a quick rundown od the jQuery as...
0
735
posted 12 years ago by FatFolderDesigner
If you are struggling against some problems with google maps and tabs be aware that, in order to avoid problems, jQuery sets the width & height of every hidden element to Zero.
To fix this problem all you have to do is trigger the resize event and...
1
994
posted 12 years ago by Whiteagle
Make you able to use a variable to retrieve an key in a JSON object
0
374
posted 12 years ago by catchatpas
to make use of this snippet you have to update the jquery.js file in your ndxz-studio/site/js folder to a new version.
0
464
posted 12 years ago by G470
Since forms only read the name of the element and not the id, this could be helpful since it makes each each element's name its id and its id the name.
0
734
posted 12 years ago by tcam27