background preloader

Jquery Scripts

Facebook Twitter

Spritely.net. 10 awesome jQuery snippets. Preloading images Preloading images is useful: Instead of loading an image when the user request it, we preload them in the background so they are ready to be displayed.

10 awesome jQuery snippets

Doing so in jQuery is very simple, as shown below: (function($) { var cache = []; // Arguments are image paths relative to the current page. $.preLoadImages = function() { var args_len = arguments.length; for (var i = args_len; i--;) { var cacheImage = document.createElement('img'); cacheImage.src = arguments[i]; cache.push(cacheImage); } } jQuery.preLoadImages("image1.gif", "/path/to/image2.png"); → Source: target=”blank” links. Responsive jQuery Slider. Showcasing Javascript + jQuery Plugins. Sequence - The Responsive Slider with Advanced CSS3 Transitions. Sequence - The Responsive Slider with Advanced CSS3 Transitions.

Installation and upgrade of ClickHeat - ClickHeat. (Belorussian translation is available, provided by fatcow) Installation 1) extract the archive and upload it on your server (the archive already contains a /clickheat/ directory, so you can extract it at the root of your website) 2) call the directory from your browser (say 3) follow on-screen instructionsBe aware that the javascript code has changed in the 1.x releases, so you must change your html code if you're upgrading from 0.xx.

Installation and upgrade of ClickHeat - ClickHeat

Upgrade To upgrade ClickHeat, just follow the first step of installation to overwrite existing files with the new ones (configuration file will not be overwritten, so your options will be kept). jQuery One Page Navigation Plugin. Sep 26, 2010 When appropriate, I am a fan of the one-page sites.

jQuery One Page Navigation Plugin

I really like the ones that add smooth scrolling and highlight the navigation depending upon which part of the page you have scrolled to. Element ‘in view’ Event Plugin. I’ve been preparing a few articles for jQuery for Designers and for .net magazine and in doing so I’ve had to write a plugin that could prove to be useful to share.

Element ‘in view’ Event Plugin

I’ve created an event that will trigger when the element is scrolled in to the viewport. jQuery File Upload Demo. Jquery - preview image before form submit. Form preview with jQuery Thickbox. English Translation will be following by tomorrow!

Form preview with jQuery Thickbox

For one of my projects I had to implement a small form preview. As I am very satisfied with the result and the simplicity, I want to share the result with you. The preview functions uses the jQuery framework and it’s plugin Thickbox. The use of Thickbox is only one alternative to implement a preview. Infinite-scroll/jquery.infinitescroll.js at master · DeadCat/infinite-scroll. The 2012 Warby Parker Annual Report. Jquery - Looking for a fullwidth slider. Isotope. How to Create an Awesome Image Preloader.

How often do you find that images in a website load gracefully; the kind where a loading icon first appears, and the image then fades in, once loaded?

How to Create an Awesome Image Preloader

This technique can greatly boost the performance of your website. If you're not already familiar with this method, you're in luck! How to Build a Kick-Butt CSS3 Mega Drop-Down Menu. Often used on e-commerce or large scale websites, mega menus are becoming more and more popular, as they offer an effective solution to displaying a lot of content while keeping a clean layout.

How to Build a Kick-Butt CSS3 Mega Drop-Down Menu

In this tutorial, we'll learn how to build a cross-browser, awesome CSS-only drop-down mega menu, using nice CSS3 features. Step 1: Building the Navigation Bar Let's begin with a basic menu, built with an unordered list and some basic CSS styling. Creating the Menu Container We'll now apply some basic CSS styling. Now, let's see how we can improve it with some CSS3 features. Fullscreen Pageflip Layout. A tutorial on how to create a fullscreen pageflip layout using BookBlock. The idea is to flip the content like book pages and access the pages via a sidebar menu that will slide out from the left.

View demo Download source We have received a couple of requests on how to use the BookBlock plugin in fullscreen. Maximage: jQuery Cycle Plugin as a Fullscreen Background Slideshow. Introducing the first fullscreen background slideshow plugin that allows you to use jQuery Cycle plugin as a Fullscreen Slideshow.

Maximage: jQuery Cycle Plugin as a Fullscreen Background Slideshow

It supports almost all of jQuery Cycle’s functions, transitions, etc. Contents Why Maximage2 Here are the reasons why Maximage2 is the best Fullscreen Background Slideshow plugin: Demo. Usage Examples. Caution: This example is meant for expert users.

Usage Examples

Remember, with FillElement you can often accomplish an offset scheme very easily... just set your containing element where you want the images to be displayed. Because the first rule of Maximage 2.0 is to try to remain hands off and out of your way, the built in support for offsets have been dropped with version 2.0. This doesn't mean they aren't possible. jQuery.parallax. Paste Remember Text INPUT field values. Home / Free JavaScripts / Forms / Here Description: Certain form fields always contain the same values, such as your user's name, email address fields etc.

Paste Remember Text INPUT field values

This script will remember the values entered into these fields, and automatically fill out these fields the next time the user returns. It uses cookies to persist the values for 60 days (changeable). For "Contact Us" or "Tell a Friend" forms that are filled out repeatedly by a user, this can save them a lot of time! jQuery Social Stream Preview.