Wednesday, March 16, 2011

Newspaper Spin Javascript

Looking for any excuse to play around with javascript I've written a newspaper spinning effect file which makes pages spin towards you like in the movies.

You can get it to happen on any site by saving the following link as a bookmark (or dragging it to your bookmark bar) and clicking on it:
Newspaper Spin This!

Turns out it's incredibly easy to do the transformations on the body element in HTML. It's just a case of setting the appropriate style value to the desired rotation amount.

No comments:

Creative Commons License
The words and photos on this webpage which are created by Toby Gray are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0 England & Wales License.