magic

How to display an animation during page loading

Old web site requires sometimes to show a big “Loading…” gif in the front of the page. It is not trivial to do it, especially if you have already plenty of jQuery forms developed, with complex form submission, and half the site in an ajax form. A small solution of this problem is to use …

How to display an animation during page loading Read More »

Changing orientation via a stylesheet

This magic CSS code is able to change the orientation of the printed page:

For more information, take a look to the CSS Print Profile specification I thinked it was not possible to define printing orientation via a simple CSS! A very nice discovery indeed…