Welcome To Snipplr
Everyone's Recent Snippets Tagged plugin
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
adapted from the fantastic „Learning jQuery 1.3“ book
http://www.packtpub.com/learning-jquery-1.3/book
0
881
posted 15 years ago by cfleschhut
function as jquery plugin to test if selector is found on the current page. Sample use:
if ( $("#myID").onpage() ) { $("#myID img").click(function(){ //do this..here.. });
0
869
posted 15 years ago by pixelhandler
Modified the code very slightly to add in cursor states for when the timeline is grabbed. Also added in (but commented out) the code to make the sliding twice as fast using a multiplier.
0
745
posted 15 years ago by davebowker
Extracts a string paremeter from the url query string. Basic operation wont handle multiples such as radio buttons etc. Just gets the first instance of the name and returns it's value.
1
686
posted 15 years ago by kouphax
A very simple plug-in I wrote to make x number of columns equal height. Looks for the column with the biggest height then sets the rest to the same. I'm sure it can be made cleaner, will look into that later.
4
1115
posted 15 years ago by 1man
An example of creating non-modal dialog boxes which extend the Dialog class is SWT/Eclipse
0
774
posted 16 years ago by monkey103
Based on my Annotations plugin this plugin offers the ability to use Mask annotations to apply input masks over input elements on a page. Very much BETA. See comments for use.
<!--@Mask("##/##/####")-->
0
820
posted 16 years ago by kouphax
The annotaion framework provides access to client side comment based DOM annotations. The framework does not imply any specific usage and is essentially useless on it's own. It merely provides another way to offer metadata for elements.
An annota...
1
1850
posted 16 years ago by kouphax
The plugin's "shave_all" function was not properly cropping and resizing the thumbnails for me. The following needs to be changed in sfImageMagickAdapter.class.php
1
678
posted 16 years ago by catchamonkey
After having trouble with xss and .getJSON() I wrote this. Solved my problems so here you go.
3
841
posted 16 years ago by twoism