Welcome To Snipplr
Everyone's Recent Snippets Tagged plugin
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
A template of a basic jQuery plugin, including over-ridable options
3
1392
posted 15 years ago by nikefido
JavaScript
Advanced use of jQuery cookie plugin to show/hide a notice, includes changing the HTML text of the link
0
1935
posted 15 years ago by phil7085
jQuery plugin that let you specify a maximum length on a text field and optionaly specify the change the focus when that maximum length has been reach. Nice when making multiple input text to create a telephone form.
Example: $("#telephone_1").maxLe...
0
1138
posted 15 years ago by frankyfish
What it does is look for img tag and on rollover change the source path from "anyimage.jpg" to "anyimage_hover.jpg". It add the suffix "_hover" at the end of the src name without changing the extension. If you look at the code you will see that it al...
0
1235
posted 15 years ago by frankyfish
NOTE: THIS HAS BEEN MOVED TO GITHUB:
If you have any ideas or improvements for this script feel free to fork or contribute or discuss over there:
https://github.com/adamcoulombe/jquery.customSelect
Plugin Download: http://www.adamcoulombe.info...
2
2385
posted 15 years ago by adamcoulombe
This plugin will, by default, truncate a block of text down to one line at its current width (if the text block exceeds 1 line). You can also pass in a pixel value and it will truncate it to that width.
0
1910
posted 15 years ago by adamcoulombe
Simple plugin to demonstrate how the 'this' keyword is used. Plugin also allows chaining via the 'return'
0
1726
posted 15 years ago by 1man
If you're writing a preference pane and you'd like to exit back to the main System Preferences view, just use this code.
1
2204
posted 15 years ago by Carter
This is a simple effect for displaying a predefined text in a text box in web page. Download jQuery and the plugin and follows the sample code in [http://cloudgen.w0ng.hk/jquery/defaultText.php](http://cloudgen.w0ng.hk/jquery/defaultText.php "Defaul...
0
1397
posted 15 years ago by cloudgen
the plugin model in JQuery takes advantage of JavaScript’s prototype inheritance and makes it trivially easy to add new chainable methods
1
1408
posted 15 years ago by magicrebirth
Of course the Plugin from wpml.org has to be installed, the file "wpml-integration.php" from docs/theme-integration has to be copied into your theme-directory and the call include "wpml-integration.php"; has to be copied to your functions.php. After...
0
1096
posted 16 years ago by zartgesotten
This is just a basic jQuery crossfade plugin. Should be executed on a list object (ul or ol) because it does specifically look for the li children. The plugin, as implemented, has two options, speed and pause. Speed being the speed at which the top i...
0
1127
posted 16 years ago by jdfwarrior
Allows for delay functionality in effects, etc.
$("#navpanel").delay(2000).animate({top:"-250px"}, {easing:"swing"});
2
1388
posted 16 years ago by ninjamuk
This plugin created in order to prepend() numbering to each matched element
1
998
posted 16 years ago by chchrist