background preloader

Favico.js - Make use of your favicon

Favico.js - Make use of your favicon
Badges Animate your favicon with animated badges. You can customize type of animation, position, background color and text color. Slide animation Fade animation Pop animation Pop & fade animation Without animation Position Shape setting Custom font support Color settings Images / Video / Webcam Create icon on the go from images, videos or even a webcam stream Regular image to icon var favicon=new Favico(); var image=document.getElementById('imageId'); favicon.image(image); HTML5 Video to icon var favicon=new Favico(); var video=document.getElementById('videoId');; //stop'stop'); Webcam video to icon This is only for fun but it works :) Works on Chrome, Firefox and Opera var favicon=new Favico();; //stop'stop'); Badge options Bower bower install favico.js Check out also Tinycon, Notify Better or favicon.js. Roadmap More options (Badge position, animations,...) License All code is open source and dual licensed under GPL and MIT.

Related:  useful sites for web design

Why you learned the grid layout system all wrong I mentioned the “Swiss School” and “the grid” layout in another article and while most comments were positive about the article, there were a number of people who asked if the grid was even still alive. I assure you the grid layout is alive, well, and used all the time. Those who never learned it just don’t realize the rules of the grid and how one can use or even bend, or break those rules for success in designing incredible layouts. Firstly, using a grid layout isn’t something assigned to print or digital exclusively. The VexFlow Tutorial VexFlow is an engraving engine for music notation, and can be used as a rendering backend to various kinds of online music tools, libraries, and applications. It is designed to run on HTML5 Canvas and SVG. It is important to note that VexFlow is a low-level rendering API; most applications will want to use something like VexTab which is a higher-level language for rendering guitar tablature and music notation. VexFlow is written completely in JavaScript and when using it with HTML5 Canvas, requires no external libraries or dependencies. For SVG support, you will need to include the Raphael JavaScript library into your sources. That said, this tutorial also makes use of the jQuery library to select and manipulate DOM elements.

Slideout.js - A touch slideout navigation menu for your mobile web apps. 1. First of all, you'll need to have a menu ("#menu") and a main content ("#panel") into your body. <nav id="menu"><header><h2>Menu</h2></header></nav><main id="panel"><header><h2>Panel</h2></header></main> Web-Based Tools for Optimizing, Formatting and Checking CSS Stylesheets can get large real quickly, both in terms of length and file size. To ensure that your web pages render correctly and quickly, here’s a compilation of some of the best free, web-based CSS optimizers/compressors, code formatters, and validation services. Check them out and pick the ones that work best for you. Optimizing and Compression

Awesomplete: Ultra lightweight, highly customizable, simple autocomplete, by Lea Verou Before you try anything, you need to include awesomplete.css and awesomplete.js in your page, via the usual <link rel="stylesheet" href="awesomplete.css" /> and <script src="awesomplete.js" async></script> tags. For the autocomplete, you just need an <input> text field (might work on <textarea> and elements with contentEditable, but that hasn’t been tested). Add class="awesomplete" for it to be automatically processed (you can still specify many options via HTML attributes), otherwise you can instantiate with a few lines of JS code, which allow for more customization. There are many ways to link an input to a list of suggestions. The simple example above could have also been made with the following markup, which provides a nice native fallback in case the script doesn’t load: Or the following, if you don’t want to use a <datalist>, or if you don’t want to use IDs (since any selector will work in data-list):

HTML5 Music Player Danny Markov This time we want to share with you a cool experiment that we made. It is a music player that lives in your browser. It uses the powerful HTML5 File Reader and Audio APIs. As a result, you can just drag and drop mp3 files from your computer into the browser, and they are automatically added to your playlist. Features OriDomi - origami for the web Initialization Create an OriDomi instance by passing your target element to the constructor: var folded = new OriDomi(document.getElementsByClassName('paper')[0]); …or pass a selector string and OriDomi will use the first element that matches: Removing a White Background with Photoshop Actions There are a ton of textures available on the internet, like spray paint drips that have a white background. Usually you will want to to remove the background and then bring it to your design. I created some actions that use alpha channels to remove the white background. These actions are very handy for all types of textures. There are 3 separate actions included in this set.

jQueryTween - Lightest Tweening Engine for jQuery Developer Friendly Using tween.js is now super duper easy with jQueryTween, as it expands it's powers in many ways. It also comes with 2 special callbacks for your other Javascript functions. Lightweight & Modular