Archive for avril, 2007

Get scroll position with all browser (included IE)

var scrollTop = window.pageYOffset || document.documentElement.scrollTop || 0; var scrollLeft = window.pageXOffset || document.documentElement.scrollLeft || 0;

A scriptless day for the summer

As a css naked day, This day aim is to demonstrate how javascript is became mandatory on user interface feeling during last years. During this day some websites will remove all javascript on their pages. The scriptless day is also a good idea to show that well developped website can also work without any script ;) . Come on board and try to remove your javascript for the july 07.

A very light an easy-to-use javascript librairy

Effects in webpages are more and more used, but often packaged in a big librairy such as Dojo, Scriptaculous, etc… Animator.js is a single little js allowing to make advanced effect very easly :
 ex15 = new Animator().addSubject(new CSSStyleSubject(     $('ex15Button'),     "width: 10em; background-color: rgb(256, 256, 256); font-style: normal",     "width: 40em; background-color: #F39; font-style: italic")); // note how you can use any unit, not just 'px'. 

This simple code will make a fade between first styles attributes and second one.

Congratulation to the author for this very good library!

My new Wallpaper

Oh a wallpaper which fit exactly to my feeling about web and browsers. It is now what I get when I go on my desktop ;)

Jumping in Implementation class in Eclipse and not in the interface

Implementors feature is a very good plugin to jump in Implementation class of an interface pressing Ctrl+Alt+F3. A very good feature to improve our productivity ;)

Thanks Titom for this very good tip!

More and more bloggers

I’ve just added 2 new blogs in my co-workers blogs list.
Lucas and Nico, Waoh my « blogosphere » becomes more and more huge ;)

Installing PostgresSQL on MacOS

The easiest way to install psql on mac OS is explained on Marc Liyanage web pages. Install, update, compil is explained. A very good tutorial ;)

[UPDATE] Apple has also a tutorial to install Postgres : http://developer.apple.com/internet/opensource/postgres.html