Welcome To Snipplr
Everyone's Recent jQuery Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1360
posted 14 years ago by FatFolderDesigner
If you want to simulate someone clicking on a link, use location.href. If you want to simulate an HTTP redirect, use location.replace.
0
1177
posted 14 years ago by vagrantradio
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
1072
posted 14 years ago by f6design
Still problematic...
1. The source of the iframe content must reside on the same domain
2. if the content inside the iframe changes height, this won't adapt
3. I left Google Analytics code off the demo above, as when I added it in it seems to in...
1
1821
posted 14 years ago by dubogii
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
1053
posted 14 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
1707
posted 14 years ago by genik
Loading external scripts on demand the smart way with Head JS
0
1078
posted 14 years ago by kevinlearynet
This plugin is the work of Stefan Gabos, all credit, rights, and praise to be directed to him here: http://stefangabos.ro/jquery/jquery-plugin-boilerplate/
1
1266
posted 14 years ago by Japh
Rather that using $(element).trigger('click'), check to see if execute has come from an element rather than directly.
0
1866
posted 14 years ago by 1man