Welcome To Snipplr
Everyone's Recent Snippets Tagged jquery
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
jLim is a small JavaScript base code. It can be used to built your own JavaScript library or framework.
0
1022
posted 13 years ago by freelancephp
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
1034
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
1316
posted 13 years ago by Whiteagle
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...
0
976
posted 13 years ago by Whiteagle
I took this out of an example in tutsplus, and I added a fadeIn action for aesthetic reasons.
0
1195
posted 13 years ago by luizlopes
Make you able to use a variable to retrieve an key in a JSON object
0
586
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
741
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
1020
posted 13 years ago by tcam27
JavaScript
Set links with href to current page as active (or if in subnav set their parent to active)
look through the list items in your main nav and based on href of anchor tags this will set the top level link to have an 'active' class.
0
1300
posted 13 years ago by iammikecohen
See https://github.com/clemens/i18n_demo_app/blob/master/config/locales/de.yml for the source of the month names etc.
1
893
posted 13 years ago by riddla