Welcome To Snipplr


Everyone's Recent Snippets Tagged jquery



1 ... 30 31 32 33 34 ... 44
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 932 posted 14 years ago by adamcoulombe
Con esto evitamos que un enlace que tengamos con 'href="#"' actue como tal y la pagina haga scroll hasta la parte superior.
0 473 posted 14 years ago by jacinmontava
Looked for a simple, efficient cross-fading script that does it properly without fading to the background color. This script uses z-indexes to prevent the background from ever showing, creating a smooth fade.
0 507 posted 14 years ago by relaxasaurus
I was recently faced with the problem of setting focus to the next input field. The challenge was that I didn’t know what that field was. So given an input field, find the next logical (in the order of the DOM) input field and set focus. I came up...
1 982 posted 14 years ago by Meander365
Place the following code in header.php before the call to wp_head(). (If you do not include the exact version number when calling libraries from Google's AJAX Libraries API, a redirect is used to pull up the most current version. While this is han...
3 966 posted 14 years ago by chrisdpratt
1 519 posted 14 years ago by rccc
I can't help thinking that good use of jQuery & Javascript must use extensive comments
0 830 posted 14 years ago by PandaWood
0 596 posted 14 years ago by landonmiller
adapted from http://jquery14.com/day-05
10 1118 posted 14 years ago by cfleschhut
add a value to your text input e.g. "Enter keywords" and clear on-click
0 663 posted 14 years ago by flicity
This is an improvement on http://snipplr.com/view/11583/retrieve-url-params-with-jquery/ I found IE wasn't liking the results[1] when no param was set. This fixes that issue.
6 2955 posted 14 years ago by geekyjohn
Easily grabs email addresses from a bulk text (CSV and/or some other email address-filled list/db). Example #2 takes the input (bulk text) from textarea #input and puts the clean emails in the textarea #extractedemails.
1 2653 posted 14 years ago by world_eggplant
3 700 posted 14 years ago by davebowker
Handy little snippet i found in 'jquery enlightenment' for caching certain selected files. Could be useful for larger files later on in a site.
1 1036 posted 14 years ago by 1man
Simple plugin to demonstrate how the 'this' keyword is used. Plugin also allows chaining via the 'return'
0 889 posted 14 years ago by 1man
Con esto puedes tener control de las imagenes que fueron cargadas y las que no.
0 570 posted 14 years ago by jrobinsonc
Since :first-child and :last-child aren't compatible with all modern browsers I thought I'd post this snippet. It make automating the class creation easier too instead of having to remember when typing up your HTML or creating logic in your programm...
3 817 posted 14 years ago by smoothdzion
0 659 posted 14 years ago by chippper
Example in 'jQuery enlightenment' Simple way to jump smoothly down the page without the use of a plugin.
3 822 posted 14 years ago by 1man
What it does: clears & submits exposed filters form via AJAX (if enabled, otherwise normal page refresh). This is for Views 2.x. It works with the 'remember me' option. You need to create a custom module. E.g. custom/custom.module and custom/cu...
1 1267 posted 14 years ago by morningtime
Example given in the book jQuery Enlightenment. Create your own custom selectors in jQuery and manipulate as usual.
0 757 posted 14 years ago by 1man
Basic skeleton for a plugin. Contains an example to show where code needs to go.
2 539 posted 14 years ago by ira
1 377 posted 14 years ago by eivind
1 ... 30 31 32 33 34 ... 44