Welcome To Snipplr


Everyone's Recent Snippets Tagged jquery



1 ... 21 22 23 24 25 ... 44
1 1320 posted 15 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 1481 posted 15 years ago by wildpeaks
A PHP proxy for jQuery AJAX cross-domain requisitions, created to support friendly-url API\\\\\\\'s.
3 2094 posted 15 years ago by hisamu
Also includes the fix for when the user resizes the window.
4 1502 posted 15 years ago by Meander365
30 minutes spent on this :)
4 1526 posted 15 years ago by TEHEK
3 1499 posted 15 years ago by nveselinov
Just a fun and silly way to asynchronously update tweets about Justin Bieber.
3 1967 posted 15 years ago by Nettuts
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 1413 posted 15 years ago by mattvbiggs
1 1463 posted 15 years ago by sb_01
1 1318 posted 15 years ago by sb_01
1 1271 posted 15 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 1603 posted 15 years ago by Xeldar
0 1317 posted 15 years ago by lajlev
Grab Google CDN's jQuery. Fall back to local if necessary, Taken from the HTML5 Boilerplate.
1 1812 posted 15 years ago by f6design
This is partial code for calling a custom foxycart shipping request.
0 1128 posted 15 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 1643 posted 15 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 1403 posted 15 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 1652 posted 15 years ago by Meander365
One bind event, multiple events. Handy.
2 1540 posted 15 years ago by Meander365
For those multiple rollovers - and their multiple flashes! The solution is to stop(!) them.
2 1376 posted 15 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 1441 posted 15 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 1521 posted 15 years ago by Meander365
0 1004 posted 15 years ago by tcelestino
Source code for http://stackoverflow.com/questions/3740245
0 1509 posted 15 years ago by brahn
1 1514 posted 15 years ago by AaronPresley
1 1529 posted 15 years ago by arif
check the original blogpost for more how-to examples
0 1780 posted 15 years ago by magicrebirth
This will extend jquery to have a :Contains selector that is case insensitive, the :contains selector remains unchanged.
0 1467 posted 15 years ago by magicrebirth
Track how long code takes to load by using a cross browser profiler. Useage : profiler("start"); //your js profiler.done("#profiler");
0 1219 posted 15 years ago by Meander365
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 1771 posted 15 years ago by Meander365
1 ... 21 22 23 24 25 ... 44