background preloader

Modernizr Documentation

Modernizr Documentation
Related:  Java / jQuery

jQuery Easing Plugin Description A jQuery plugin from GSGD to give advanced easing options. Please note, the easing function names changed in version 1.2. Please also note, you shouldn't really be hotlinking the script from this site, if you're after a CDN version you could do worse than try cdnjs.com Download Download the following: Example Click on any of the yellow headers to see the default easing method in action (I've set as easeOutBounce for the demo, just because it's obviously different). Select easing types for the demo first one for down, second one for up. The Clicker Updates 12/11/07 1.3 jQuery easing now supports a default easing mode. 04/10/07 1.2 Updated to include all methods from Robert Penners easing equations. 28/06/07 1.1.1 Updated the method to not overwrite the newly renamed 'swing', or the new 'linear' style coming in 1.1.3. 22/06/07 Rewritten the above to include callback syntax, nothing else has changed. Advertisements Need reliable hosting for your blog? Credits Donate Usage Default Custom

30 jQuery Accordion Menus, Tutorials And Best Examples Accordion menus are used widely in navigating, sliding, minimizing and maximizing content. Such accordions practically are expandable whenever needed; you can really save some space and be able to show a lot of information using this technique. Yes, and, of course, such sliding content always is great from the design point of view aby giving your visitor unique experience while he is looking at the site. Great, isn’t it? – here you will find a lot of customizable plugins, and tutorials to help you to understand accordions. This article has been updated on 5/28/2012 Accordionza – jQuery Plugin Accordionza is a very flexible and lightweight jQuery (v1.4+) accordion plugin. Many features — Easily configure all effects and speed, pause on hover, autoplay and autorestart, collapsable captions and more.Keyboard navigation — Optionally enable the cursor keys to browse an accordion.Lightweight — The plugin takes only 3kB to load.Flexible — Three accordion styles are included. View Demo 1. 2.1. 3.

Home Multiple Background CSS Animations CSS background animation has been a hot topic for a long time, mostly because they look pretty sweet and don't require additional elements. I was recently asked if it was possible to have multiple background animations on a given element and the answer is yes...with concessions. Let's take a look at how it's done! The CSS So multiple background images on an element is something we've been able to do for quite a while now, simply separate them with commas: Note that the background image that you want at the top of the stack should go first in the image list. The result is three moving pieces inside one element! Of course this isn't an ideal case because you can't separately change background-positions and thus you need to work with the same duration for each background image. Be Heard Tip: Wrap your code in <pre> tags or link to a GitHub Gist! Older Referencing a Script's Own Tag Newer CSS Idea: /*autoprefix*/

How to lose weight (in the browser) How to use the Jquery Easing Plugin - JavaScript Atoms | JavaScript Tutorials, Tips, and Code Examples A Brief Introduction Although JQuery animations are absolutely amazing, they can sometimes be a bit plain without the help of a few plugins. It is argued among JavaScript junkies as to which library or plugin results in the best looking animations, but the simplicity of the JQuery easing plugin makes it a popular choice among many. Today, we’ll look at some of the common easing functions, and make pretty good use of them as well. Let’s get started. Part 1: What is easing? Plain and simple, easing is the “smoothing out” of an animation. 1.2: Adding the easing plugin The plugin is included with the downloadable folder that comes with this tutorial, and is called easing.js. <title> JQuery easing demo </title><script type="text/javascript" src="jquery.js"></script><script type="text/javascript" src="easing.js"></script><script type="text/javascript" src="main.js"></script></head> We’ll be writing our code, as usual, in the main.js file. 1.3: The bouncing ball 1.4: The expanding elastic square

Golden Grid System GGS was my next step after Less Framework. Instead of a fixed-width grid, it used a fully fluid-width one, without even a maximum width. The resources it was published with are still available on GitHub. The idea was to take a 18-column grid, use the outermost columns as margins, and use the remaining 16 to lay elements out. While the grid's columns were fluid — proportional to the screen's width — the gutters (spaces between the columns) were proportional to the font-size being used. GGS also contained a set of typographic presets, strictly to a baseline grid. Correctly setting all of these measurements is difficult, of course. When published, GGS gained a lot of attention, as the web design community was searching ways to work with fluid-width grids, which have always been troublesome, running counter to many graphic design principles. Many people trying to use GGS were also confused by the lack of predefined code for working with the grid.

src/Scripts/jquery.fileDownload.js at master · johnculviner/jquery.fileDownload Prefix free: Break free from CSS vendor prefix hell! -prefix-free lets you use only unprefixed CSS properties everywhere. It works behind the scenes, adding the current browser’s prefix to any CSS code, only when it’s needed. The target browser support is IE9+, Opera 10+, Firefox 3.5+, Safari 4+ and Chrome on desktop and Mobile Safari, Android browser, Chrome and Opera Mobile on mobile. If it doesn’t work in any of those, it’s a bug so please report it. Just before you do, please make sure that it’s not because the browser doesn’t support a CSS3 feature at all, even with a prefix. In older browsers like IE8, nothing will break, just properties won’t get prefixed. Test the prefixing that -prefix-free would do for this browser, by writing some CSS below: Properties/values etc that already have a prefix won’t be altered. It’s not ideal, but it’s a solution, until a more intuitive way to deal with these cases is added in -prefix-free. Please note that in unsupported browsers like IE8, no such class will be added. Firefox (and IE?)

Magnifying glass for image zoom using Jquery and CSS3 View codePlay Walkthrough Description Learn to make a realistic magnifying glass using Jquery and CSS3. Hover above the image to see the action. The code uses CSS3 box-shadow and border-radius properties to create the magnifying glass. Moving the cursor away from the image gently fades out the magnifying glass bringing the image back to the default state.

Raphaël—JavaScript Library

Related:  ModernizrcodingHTML5*Boilerplate - ModernizrPLD