Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged jquery



1 ... 12 13 14 15 16 ... 24
1 709 posted 14 years ago by ponjoh
I know there are other solutions and sites out there that provide code to perform this simple animation but I like the way I laid out the code. The principal behind this code is it will toggle a show or hide event and change your plus or minus image...
1 1094 posted 14 years ago by mattvbiggs
0 859 posted 14 years ago by konteck
very minimal way to get the value and text of a combo box using jquery
1 941 posted 14 years ago by blipz
3 1099 posted 14 years ago by gdpotter
This is quick code that demonstrates the usage of Microsoft's jQuery templating plugin.
8 1374 posted 14 years ago by Nettuts
1 854 posted 14 years ago by kormie
**Important: this snipplet has moved to Github.** - [Method 1: Static template via a SCRIPT tag, using Jquery Templates](https://gist.github.com/1972787) - [Method 2: Dynamic template from an arbitrary string, using Jquery Templates](https://...
1 1038 posted 14 years ago by wildpeaks
Also includes the fix for when the user resizes the window.
4 1053 posted 14 years ago by Meander365
30 minutes spent on this :)
4 1039 posted 14 years ago by TEHEK
3 1003 posted 14 years ago by nveselinov
This code can be used to create a MVC View User Control (.ascx) that will display a cascade or select all button with a clear button for checkboxes arranged in a hierarchy.
1 1037 posted 14 years ago by mattvbiggs
1 1037 posted 14 years ago by sb_01
1 928 posted 14 years ago by sb_01
1 872 posted 14 years ago by sb_01
From http://snipplr.com/view/41051/jscrollpane-ipadiphoneipodios-scoll-support/ here the part of code to add in jScrollPane.js for android,iphone,ipod,ipad support. Add this after :if (isScrollable) { (around line 165)
3 1167 posted 14 years ago by Xeldar
This is partial code for calling a custom foxycart shipping request.
0 793 posted 14 years ago by webmovementllc
Another handy one and one which I see quite often. You rollover an element and it animates. You then mouseover and mouseleave really quickly, multiple times and all the animations gets queued. This solves that problem. The delay(200) is like adding...
1 1160 posted 14 years ago by Meander365
Handy. Hide an element as soon as possible, before document.ready. The element gets hidden but only when a class is applied to the html via js.
1 1006 posted 14 years ago by Meander365
I can see this being useful for when you want to pass a lot of associated data to an event handler from elements and their chosen trigger action.
1 1128 posted 14 years ago by Meander365
One bind event, multiple events. Handy.
2 1041 posted 14 years ago by Meander365
For those multiple rollovers - and their multiple flashes! The solution is to stop(!) them.
2 974 posted 14 years ago by Meander365
Dave Metvin\'s method. Two tricks to the method:\r\n\r\n$($boxes[div++] || []) - increaments \"div\" and passes an empty array if the element doesnt exist (so it exists).\r\n\r\narguments.callee - the name of the function currently being executed.
1 977 posted 14 years ago by Meander365
When you load content into a jquery ui dialog box which contains a textarea element that you use FCKeditor on. The second time you open the dialog, FCKeditor fails to load. You have to destroy it when you close the dialog box.
0 1070 posted 14 years ago by Meander365
0 699 posted 14 years ago by tcelestino
1 1086 posted 14 years ago by arif
This is dead handy. The purpose of the custom filter is to select all elements which have data attached. You can even find specific data.
1 1261 posted 14 years ago by Meander365
I’ve seen some very cool parallax effect around lately, especially liking the Silverback site. But none of them are particularly interactive, so I thought I’d make a small implementation of the Parallax effect that interacts with the mouse. Ve...
1 916 posted 14 years ago by dom111
A simple script that will add captions to images and allow for easy styling.
1 863 posted 14 years ago by dom111
1 ... 12 13 14 15 16 ... 24