background preloader

HTML5 Cross Browser Polyfills - GitHub

HTML5 Cross Browser Polyfills - GitHub
The No-Nonsense Guide to HTML5 Fallbacks So here we're collecting all the shims, fallbacks, and polyfills in order to implant HTML5 functionality in browsers that don't natively support them. The general idea is that: We, as developers, should be able to develop with the HTML5 APIs, and scripts can create the methods and objects that should exist. Developing in this future-proof way means as users upgrade, your code doesn't have to change but users will move to the better, native experience cleanly. Looking to conditionally load these scripts (client-side), based on feature detects? svgweb by Brad Neuberg & others Fallback via FlashSnap.SVG from scratch by the author of Raphaël (Dmitry Baranovskiy) Abstracted API. FakeSmile by David Leunen Canvas Web Storage (LocalStorage and SessionStorage) Non HTML5 API Solutions ssw by Matthias Schäfer$.store by Rodney Rehmlawnchair by Brian Lerouxstore.js by Marcus WestinPersistJS by Paul DuncanSquirrel.js by Aaron GustafsonjStorage by Andris Reinman Video

Html5 cross browser polyfills - Modernizr - GitHub The No-Nonsense Guide to HTML5 Fallbacks So here we're collecting all the shims, fallbacks, and polyfills in order to implant HTML5 functionality in browsers that don't natively support them. The general idea is that: We, as developers, should be able to develop with the HTML5 APIs, and scripts can create the methods and objects that should exist. Looking to conditionally load these scripts (client-side), based on feature detects? svgweb by Brad Neuberg & others Fallback via FlashSnap.SVG from scratch by the author of Raphaël (Dmitry Baranovskiy) Abstracted API. FakeSmile by David Leunen Canvas FlashCanvas by Shinya Muramatsu Reported to have 33x better performance than excanvasexcanvas by Google, Erik Arvidssonslcanvas project (Original Silverlight bridge)canvas-textOnly necessary for canvastext in IE, reallyfxCanvasKinetic.js by Eric Drowell Web Storage (LocalStorage and SessionStorage) Non HTML5 API Solutions Sectioning Elements Video VTT: Video Timed Track (subtitles) Audio Audio Data API Ruby

20 JavaScript Frameworks Worth Checking Out | Nettuts+ The number of web applications being created and used has grown rapidly since the new millenium. And importantly, so has the sheer complexity of them -- specially on the front end. No more static pages, no sir! You have a ton of sections each interacting with each other and the server and yes, it's as complicated as it sounds and just as hard to pull off. Today, I'd like to talk about a few choice JavaScript frameworks that aim to simplify front-end application development. If you think jQuery is the answer, you lose a cookie and get an F grade! Creating responsive, fluid, and maintainable interfaces for web apps isn't as easy as one would imagine -- there is data to be sent back to the server and the results parsed, data stores to be updated, views to be re-rendered and so much else that needs to be done in the background. Sure, a few of these may be a little old but their code bases have lots of lessons to teach. Related links: Introduction to Sammy.js Github Repo Google Code

When can I use... Support tables for HTML5, CSS3, etc HTML5 Please - Use the new and shiny responsibly scottjehl/Respond JPEGs with Alpha Channels?!? | jackadamblog Posted on by Jack Turner I wanted a reasonably sized photographic image with a 24-bit alpha channel. So I used a JPEG for what JPEGs are good for and a PNG for what PNGs are good for... I combined them using an HTML5 canvas element and then inserted into the DOM. On a recent project I did this using jQuery and scanning the CSS for background-images, but this could easily be achieved without any special CSS using valid HTML5 syntax by referring to a normal JPEG throug the src of an img element and adding a new data-alpha-src attribute with the URL of a 24-bit PNG that is just a mask. This little demo works in the newest versions of Firefox, Chrome, and Safari (including Safari for iOS). Recently we’ve taken on two different projects that involve lots of large sprites being animated around landscapes. Here is the JavaScript code from the demo: ;(function() { var create_alpha_jpeg = function(img) { var alpha_path = img.getAttribute('data-alpha-src') if(!

Stellar.js - Documentation Getting Started Stellar.js is a jQuery plugin that provides parallax scrolling effects to any scrolling element. The first step is to run .stellar() against the element: // For example: $(window).stellar();// or: $('#main').stellar(); If you're running Stellar.js on 'window', you can use the shorthand: $.stellar(); This will look for any parallax backgrounds or elements within the specified element and reposition them when the element scrolls. Mobile Support Support in Mobile WebKit browsers requires a touch scrolling library, and a slightly tweaked configuration. Please note that parallax backgrounds are not recommended in Mobile WebKit, only parallax elements. Parallax Elements If you want elements to scroll at a different speed, add the following attribute to any element with a CSS position of absolute, relative or fixed: If a ratio lower than 1 is causing the element to appear jittery, try setting its CSS position to fixed. Parallax Backgrounds Configuring Offsets Confused? Confused?

HTML5 Please 4.5 Text-level semantics — HTML5 4.5 Text-level semantics 4.5.1 The a element Categories: Flow content. Phrasing content. Interactive content. Palpable content. Contexts in which this element can be used: Where phrasing content is expected. Content model: Transparent, but there must be no interactive content descendant. Content attributes: Global attributes href - Address of the hyperlink target - Default browsing context for hyperlink navigation and form submission download - Whether to download the resource instead of navigating to it, and its file name if so rel - Relationship between the document containing the hyperlink and the destination resource hreflang - Language of the linked resource type - Hint for the type of the referenced resource Tag omission in text/html: Neither tag is omissible Allowed ARIA role attribute values: link (default - do not set), button, checkbox, menuitem, menuitemcheckbox, menuitemradio, tab or treeitem Allowed ARIA state and property attributes: Global aria-* attributes DOM interface: interface HTMLAnchorElement

Conditionizr: Detecting front-end environments and conditionally loading assets, wrapped inside a 1KB API flexie - support for the CSS3 Flexible Box Model - GitHub QuoJS - Micro JavaScript Library

Related: