Welcome To Snipplr


Everyone's Recent Snippets Tagged jquery



1 ... 28 29 30 31 32 ... 44
simple jquery show and hide
0 826 posted 15 years ago by satonthat
Function to reset a complete form to there default value.
0 788 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 797 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 920 posted 15 years ago by frankyfish
0 873 posted 15 years ago by errkk
0 729 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 704 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 1129 posted 15 years ago by MikeyLikesIt
include jQuery, jQuery ui and jQuery cookie plugin. Simple.
0 1273 posted 15 years ago by vagrantradio
0 826 posted 15 years ago by metoikos
0 688 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 1806 posted 15 years ago by adamcoulombe
1 924 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 830 posted 15 years ago by flicity
A lightweight, collapsable menu script that works no matter how many nested lists there are.
1 679 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 685 posted 15 years ago by matthalliday
1 878 posted 15 years ago by wdso
Make IE6 do tricks with jQuery
0 979 posted 15 years ago by vagrantradio
This is assuming that you have SlideDeck loaded already. http://www.slidedeck.com/
0 816 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 860 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 1274 posted 15 years ago by jaff
3 932 posted 15 years ago by bitmanic
1 ... 28 29 30 31 32 ... 44