Welcome To Snipplr


Everyone's Recent Snippets Tagged jquery



1 ... 28 29 30 31 32 ... 44
simple jquery show and hide
0 969 posted 15 years ago by satonthat
Function to reset a complete form to there default value.
0 982 posted 15 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 993 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 1089 posted 15 years ago by frankyfish
0 1050 posted 15 years ago by errkk
0 905 posted 15 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 847 posted 15 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 1327 posted 15 years ago by MikeyLikesIt
include jQuery, jQuery ui and jQuery cookie plugin. Simple.
0 1527 posted 15 years ago by vagrantradio
0 1007 posted 15 years ago by metoikos
0 872 posted 15 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 2101 posted 15 years ago by adamcoulombe
1 1088 posted 15 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 979 posted 15 years ago by flicity
A lightweight, collapsable menu script that works no matter how many nested lists there are.
1 802 posted 15 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 848 posted 15 years ago by matthalliday
1 1087 posted 15 years ago by wdso
Make IE6 do tricks with jQuery
0 1186 posted 15 years ago by vagrantradio
This is assuming that you have SlideDeck loaded already. http://www.slidedeck.com/
0 1030 posted 15 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 1019 posted 15 years ago by daulex
This plugin allows you to collapse the inner text so that it adjust into specific width or container width.
1 1479 posted 15 years ago by jaff
3 1101 posted 15 years ago by bitmanic
1 ... 28 29 30 31 32 ... 44