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
1132
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
1052
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
1109
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
1476
posted 13 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
1279
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
914
posted 13 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
1182
posted 13 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
1465
posted 13 years ago by Whiteagle
Make you able to use a variable to retrieve an key in a JSON object
0
661
posted 13 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
838
posted 13 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
1128
posted 13 years ago by tcam27