Welcome To Snipplr
Everyone's Recent jQuery Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
A quick snippet that removes the 'px' when accessing a value through jquery, and converts it into an integer.
0
689
posted 13 years ago by cessnajumpin
I've previously posted this here: http://snipplr.com/view/59044/flexible-site-layout-with-resize-detection/
This new version is short and more efficient, plus it no longer shows 1 (harmless) error on launch. Works the same as last time, the sizabl...
2
935
posted 13 years ago by FatFolderDesigner
This is inspired by jQuery autotabs plugin by Keywan Ghadami. I've made a few changes to allow for more versatility and to add button navigation.
0
849
posted 13 years ago by Neener54
jQuery to set the width of some text to the width of a given element.
0
895
posted 13 years ago by Narthur
https://github.com/zenorocha/jquery-boilerplate/blob/master/jquery.boilerplate.min.js
0
729
posted 13 years ago by lawlesscreation
Dynamically add <label> HTML tag to input description, matching the input by adding an ID value to the input.
0
817
posted 13 years ago by jbernus
Hi everyone, a while ago i posted a little script that reproduced a little animation effect seen in Windows 8 Developer Preview. I thought about expanding it some more, and in the end i started actually recreating the whole Metro interface in HTML5/C...
1
1548
posted 13 years ago by claudiowebdesign
Working on an ecommerce site I found out from our Japanese distrubutors that they don't have a decimal for the currency since yen doesn't deal in change. 1 yen is a fraction of a cent anyway!
This code looks for the Yen since within a <span></span...
0
731
posted 13 years ago by cpres
Assumes that you have got a #mainnav around your menu. Works nicely with wp_nav_menu inside.
0
779
posted 13 years ago by telltec
From time to time I need a Ajax function to not cashe the template it load. I only have notest this problem in IE.
1
865
posted 13 years ago by Tyde