Welcome To Snipplr
Everyone's Recent jQuery Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Add attribute to links to open them in a new window. Example - rel="external". Alternative to target="_blank", conforming to XHTML specification.
0
1171
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
822
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
1047
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
1326
posted 13 years ago by Whiteagle
Make you able to use a variable to retrieve an key in a JSON object
0
594
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
743
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
1025
posted 13 years ago by tcam27