Welcome To Snipplr


Everyone's Recent Snippets Tagged jquery



1 ... 28 29 30 31 32 ... 44
simple jquery show and hide
0 1376 posted 16 years ago by satonthat
Function to reset a complete form to there default value.
0 1494 posted 16 years ago by frankyfish
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 1465 posted 16 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 1560 posted 16 years ago by frankyfish
0 1503 posted 16 years ago by errkk
0 1325 posted 16 years ago by koetz
Show/hide an paragraph when you click on the h2, suppose you have: <h2><a href="#">Designer info</a></h2> <p>Lorem ipsum dolor sit amet.</p> You can show/hide the paragraph with the code below.
0 1241 posted 16 years ago by marcelodornelas
This is a method that I use to easily wrap an HTML container with nice curly quotes. I much prefer this method over using images because the quotes can be easily stylized using css fonts, colors, and sizes. Also, the markup is semantically correct.
1 1951 posted 16 years ago by MikeyLikesIt
include jQuery, jQuery ui and jQuery cookie plugin. Simple.
0 2030 posted 16 years ago by vagrantradio
0 1482 posted 16 years ago by metoikos
0 1289 posted 16 years ago by davidhellmann
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 2853 posted 16 years ago by adamcoulombe
1 1511 posted 16 years ago by freelancephp
1. Use absolute positioning to place label over the text box 2. Hide label except when JS is enabled 3. Use jQuery to hide label when field receives focus
1 1416 posted 16 years ago by flicity
A lightweight, collapsable menu script that works no matter how many nested lists there are.
1 1281 posted 16 years ago by matthalliday
If body has lang="fr" then add a special class. We can't use the CSS pseudo selector :lang(fr) because there is currently no support in Safari.
0 1260 posted 16 years ago by matthalliday
1 1581 posted 16 years ago by wdso
Make IE6 do tricks with jQuery
0 1595 posted 16 years ago by vagrantradio
This is assuming that you have SlideDeck loaded already. http://www.slidedeck.com/
0 1498 posted 16 years ago by Jamie
Catches click, if element has nextUntil elements, triggers a slideDown of child elements and returns false (to stop the anchor), if there are no nextUntil elements, does nothing and allows the click through (the anchor works).
0 1427 posted 16 years ago by daulex
This plugin allows you to collapse the inner text so that it adjust into specific width or container width.
1 1995 posted 16 years ago by jaff
3 1587 posted 16 years ago by bitmanic
1 ... 28 29 30 31 32 ... 44