Relax Breath of Solution.

Just I wanted.. Do you?…

The Closure Compiler reduces the size of your JavaScript files and makes them more efficient

What is the Closure Compiler? The Closure Compiler is a tool for making JavaScript download and run faster. It is a true compiler for JavaScript. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes […]

window.orientation and the orientationchange event vs Modernizr.mq orientation

Luckily on the latest smartphones you have some goodies available to you that you don’t have on the desktop (since desktop users aren’t in the habit of constantly turning their screens sideways!). window.orientation: this property gives the current screen orientation: 0 in portrait mode, 90 when rotated left, -90 when rotated right (no special value […]

Debounced resize() jQuery plugin for smart resize

If you’ve ever attached an event handler to the window’s resize event, you have probably noticed that while Firefox fires the event slow and sensibly, IE and Webkit go totally spastic. In IE, Safari, and Chrome many resize events fire as long as the user continues resizing the window. Opera uses as many resize events, […]

Modernizr.load is a resource loader (CSS and JavaScript)

Modernizr.load is a resource loader (CSS and JavaScript) that was made to specifically to work side-by-side with Modernizr. It’s optional in your build, but if you are loading polyfills(polyfills is downloadable code which provides facilities that are not built-in to a web browser.), There’s a good chance it can save you some bandwidth and boost […]

CSS Browser Selector Clever technique to help you on CSS hacks.

CSS Browser Selector is a very small javascript with just one line which empower CSS selectors. It gives you the ability to write specific CSS code for each operating system and each browser. Source of this example: DOWNLOAD http://github.com/rafaelp/css_browser_selector/raw/master/css_browser_selector.js USAGE 1. Copy and paste the line below, inside and tag 2. Set CSS attributes with […]