Welcome To Snipplr
Everyone's Recent Snippets Tagged jquery
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Removes the margin-right spacing from the item in a line of items. This works cross browser unlike the CSS last-child selector (which doesn't work in IE6 or IE7).
0
771
posted 13 years ago by redconservatory
Execute function / action when an element has loaded or clicked.
Originally seen here: http://www.codingforums.com/archive/index.php/t-144582.html
0
736
posted 13 years ago by reverend
This is a jquery full screen background image plugin for indexhibit using
http://srobbin.com/jquery-plugins/jquery-backstretch/
0
655
posted 13 years ago by orionrush
Basically, if the value has already been requested once before it's returned immediately from the cache. Otherwise, an AJAX request fetches the data and adds it to the cache. The $.when/.then doesn't care about any of this; all you need to be concern...
0
912
posted 13 years ago by crypticsoft
A simple Ajax database app built with the Karrigell web framework for Python; PyDbLite, a non-SQL Python database engine; and JQuery in the browser
0
644
posted 13 years ago by jcastell
This simple example will access your GeoLocation on mobile Safari and place a marker using Google Maps.
3
1003
posted 13 years ago by chrisaiv
This mini experiment simply shows how to create a static Google Map with a Marker based on a user's Geo Location. This was designed specifically for Safari Mobile
4
1845
posted 13 years ago by chrisaiv
This is mostly taken from the HTML5 Boilerplate project so kudos go there.
Dont forget to update the local URL paths.
0
1033
posted 13 years ago by lawlesscreation
Automatically use jQuery to Open External Links in New Window (checking domain first).
3
1150
posted 13 years ago by mindshare
$('#contentbox').keyup(function(){} - contentbox is the ID of the textbox. Using $(this).val() getting the textbox value. bar is the div ID of the count meter $('#bar').animate() increasing the width.
0
1867
posted 13 years ago by atik
Most of spservices function can be ignored -- not specifically relevant to templating. Important code in that block is the array push.
0
697
posted 13 years ago by rumremix
Example of how to display HTTP error code and message on ajax response
0
767
posted 13 years ago by anagaiyahoocom
When applied to a page, this script converts any sub-menus created in the Wordpress menu editor into drop-down menus without having to specify each menu item individually. Fades in sub-menu of selected list item quickly, then fades out when leaving l...
2
818
posted 13 years ago by happynuclear