Snipplrhttp://snipplr.com/tags/loading
Recent snippets posted on Snipplr.comen-usWed, 04 Mar 2015 09:48:14 GMT(JavaScript) jQuery Loading Fallback - apphp-snippetshttp://snipplr.com/view/72161/jquery-loading-fallback/
Nowadays majority of sites uses the jQuery JavaScript library. A lot of them also make use of Google's hosted version of the library from some reasons: faster loading, better cross site caching etc. However, what if there is ever a problem and jQuery is not loaded from Google? For example when you work on localhost and there is no Internet connection? This simple snippet will help you. It basically checks if jQuery is loaded from Google. If not, then it loads it locally from our own version of jQuery. ]]>Tue, 20 Aug 2013 19:21:41 GMThttp://snipplr.com/view/72161/jquery-loading-fallback/(HTML) CSS3 Ajax Loading Cross browser - MohamedAlaahttp://snipplr.com/view/68789/css3-ajax-loading-cross-browser/
CSS3 Ajax Loading Animation
========
This is a simulation for the popular gif animated images. The reason why i choose to do it in css3 is the flexibility of re-using it in different sizes, different colors and the transparency issues in gif animated loaders.
Enjoy it ;)
--------
[Mohamed](http://seniorwebdesigner.com/ "My Portfolio")
Twitter: [@MohammedAlaa](http://twitter.com/MohammedAlaa "@MohammedAlaa on Twitter") ]]>Wed, 28 Nov 2012 05:58:48 GMThttp://snipplr.com/view/68789/css3-ajax-loading-cross-browser/(CSS) CSS - Add a “loading image” to, well, loading images - satie83http://snipplr.com/view/66660/css--add-a-loading-image-to-well-loading-images/
]]>Sun, 12 Aug 2012 10:09:04 GMThttp://snipplr.com/view/66660/css--add-a-loading-image-to-well-loading-images/(jQuery) Speed up jQuery UI Autocomplete Combobox with very large select lists - Huskiehttp://snipplr.com/view/64623/speed-up-jquery-ui-autocomplete-combobox-with-very-large-select-lists/
With the current combobox implementation, the full list is emptied and re-rendered every time you expand the dropdown. Also you are stuck with setting the minLength to 0, because it has to do an empty search to get the full list.
Here is my own implementation extending the autocomplete widget. It renders the full list just once, and reuses it whenever the dropdown button is clicked. This also removes the dependence of the option minLength = 0. It also works with arrays, and ajax as list source. Also if you have multiple large list, the widget initialization is added to a queue so it can run in the background, and not freeze the browser. ]]>Tue, 17 Apr 2012 19:56:43 GMThttp://snipplr.com/view/64623/speed-up-jquery-ui-autocomplete-combobox-with-very-large-select-lists/(PHP) wp_conditional css files loading - nWidarthttp://snipplr.com/view/63586/wpconditional-css-files-loading/
wp_conditional css files loading ]]>Sun, 26 Feb 2012 20:27:52 GMThttp://snipplr.com/view/63586/wpconditional-css-files-loading/(jQuery) Google CDN jQuery loading fallback - Huskiehttp://snipplr.com/view/62495/google-cdn-jquery-loading-fallback/
This code snippet fetches the very latest minified version of jQuery from Google's CDN. If this is not available, we revert to a locally stored version (current version at time of publish was 1.7.1 - update this to suit going forward). ]]>Thu, 12 Jan 2012 02:47:13 GMThttp://snipplr.com/view/62495/google-cdn-jquery-loading-fallback/(jQuery) Custom Cursor Message - RobertHegeraadhttp://snipplr.com/view/62488/custom-cursor-message/
With this plugin you can create a custom cursor message e.g. Call this plugin before your jquery function to show the user a message like 'Loading...' and then simply remove the message after the function is done loading. You can expand this easily by adding more options like: border-radius or even give it a background image. ]]>Thu, 12 Jan 2012 00:27:10 GMThttp://snipplr.com/view/62488/custom-cursor-message/(iPhone) Easy function to get the path to the documents directory for data persistance - codeRefinerhttp://snipplr.com/view/61316/easy-function-to-get-the-path-to-the-documents-directory-for-data-persistance/
Here is a simple function that will return the path to the documents directory so you can store data in it later ]]>Wed, 30 Nov 2011 06:24:50 GMThttp://snipplr.com/view/61316/easy-function-to-get-the-path-to-the-documents-directory-for-data-persistance/(jQuery) jQuery ajax loading wrapper (realy simple :)) - graceman9http://snipplr.com/view/58763/jquery-ajax-loading-wrapper-realy-simple-/
And how you do this? ]]>Sun, 18 Sep 2011 05:07:26 GMThttp://snipplr.com/view/58763/jquery-ajax-loading-wrapper-realy-simple-/(PHP) function load by ajax - jose_506http://snipplr.com/view/58717/function-load-by-ajax/
]]>Fri, 16 Sep 2011 00:43:00 GMThttp://snipplr.com/view/58717/function-load-by-ajax/(JavaScript) Safe Script Load - jasonseneyhttp://snipplr.com/view/51965/safe-script-load/
Safely loads a javascript file asynchronously
Example:
(function() {
__safeLoadScript("http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js", function() {
alert(jQuery);
});
})(); ]]>Tue, 12 Apr 2011 14:16:31 GMThttp://snipplr.com/view/51965/safe-script-load/(ActionScript 3) Easy XML Loading util - burnandbasshttp://snipplr.com/view/49415/easy-xml-loading-util/
Simple usage:
var xmlLoader:LoadXMLUtil = new LoadXMLUtil("path_to_xml.xml");
xmlLoader.addEventListener(Event.COMPLETE, onLoaderComplete);
private function onLoaderComplete(event:Event):void{
trace("Loaded XML: ");
trace(xmlLoader.xml);
} ]]>Tue, 22 Feb 2011 22:13:43 GMThttp://snipplr.com/view/49415/easy-xml-loading-util/(ActionScript 3) loading - darkbaron1912http://snipplr.com/view/49197/loading/
]]>Fri, 18 Feb 2011 13:38:18 GMThttp://snipplr.com/view/49197/loading/(jQuery) jQuery.getScript() does not cache – Jamie Thompson - lamebollockhttp://snipplr.com/view/49050/jquerygetscript-does-not-cache--jamie-thompson/
Cache control when pulling in scripts, redefined "getScript" function ]]>Tue, 15 Feb 2011 21:18:57 GMThttp://snipplr.com/view/49050/jquerygetscript-does-not-cache--jamie-thompson/(ActionScript 3) Adobe AIR - Load local text file - GrfxGuruhttp://snipplr.com/view/48135/adobe-air--load-local-text-file/
]]>Mon, 31 Jan 2011 14:15:54 GMThttp://snipplr.com/view/48135/adobe-air--load-local-text-file/(CSS) image loading with rotating gif - claudiowebdesignhttp://snipplr.com/view/43624/image-loading-with-rotating-gif/
You can simply put it in your reset stylesheet. It visualizes the classic rotating gif while the document's images are coming from the server at page load. ]]>Fri, 05 Nov 2010 09:19:57 GMThttp://snipplr.com/view/43624/image-loading-with-rotating-gif/(JavaScript) Alt image loaded script - tennisonhttp://snipplr.com/view/40422/alt-image-loaded-script/
]]>Mon, 13 Sep 2010 20:43:22 GMThttp://snipplr.com/view/40422/alt-image-loaded-script/(JavaScript) JS detect if img loaded - tennisonhttp://snipplr.com/view/40421/js-detect-if-img-loaded/
]]>Mon, 13 Sep 2010 20:41:53 GMThttp://snipplr.com/view/40421/js-detect-if-img-loaded/(ActionScript 3) Simple little loader utility - IsoJonhttp://snipplr.com/view/38283/simple-little-loader-utility/
When you just need something small and simple. ]]>Wed, 04 Aug 2010 01:12:53 GMThttp://snipplr.com/view/38283/simple-little-loader-utility/(HTML) HTML meta refresh redirect page - meta http-equiv cache control pragma refresh - brandonjphttp://snipplr.com/view/37971/html-meta-refresh-redirect-page--meta-httpequiv-cache-control-pragma-refresh/
]]>Wed, 28 Jul 2010 05:45:46 GMThttp://snipplr.com/view/37971/html-meta-refresh-redirect-page--meta-httpequiv-cache-control-pragma-refresh/