Welcome To Snipplr
Everyone's Recent Snippets Tagged jquery
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
The comments for this are broken down into 2 parts, first the script is talked about, then theres a little about the HTML code that the script relies on. You can find more information at the URL, as well as an example of it in action. You can leave c...
0
799
posted 13 years ago by FatFolderDesigner
Plugin to get and set Element#style.display (e.g. "none" or "")
0
804
posted 13 years ago by kendsnyder
Use whatever is needed to select the input box. $('#searchBoxOuter td.ms-sbcell input') reflects some custom master page html I have so I used that.
0
1318
posted 13 years ago by rumremix
add the "a class" part in the body and the $('a.gallery') part between your javascript tags on the line right after $(document).ready(function() {
0
690
posted 13 years ago by gamblelyn
After being tasked with creating inputs like those on the twitter homepage I came up with this inline label system that uses jquery to control the labels (in the vase of the example it fase and slides them).
The code is in three parts. First, the...
0
866
posted 13 years ago by FatFolderDesigner
Makes the images in Galleria gallery clickable, so you can see the full sized image in Fancybox (or the ligthbox of your preference). Get Galleria is here: http://galleria.aino.se/
0
706
posted 13 years ago by f6design
Small image- and content slider with menu generation and auto-rotator.
The auto-rotator stops, when menu is clicked. Text of the menu is taken from the title-tag of the image(can easily be changed!). Minified size < 1kb.
Call it with
$('.someCla...
0
662
posted 13 years ago by madc
Set focus to all next text input in a html document when press enter button on your keyboard. If focused at the last text input element, it will be back to the first text input element.
1
1028
posted 13 years ago by genik
Loading external scripts on demand the smart way with Head JS
0
677
posted 13 years ago by kevinlearynet