latest website: Christophe Prat

2010

Christophe Prat

Pour Christophe Prat j’ai mis en place un site concis et statique, comportant des textes ainsi qu’une galerie, qui a été développée en Javascript, présentant ses peintures . Graphisme et comportements ont été conçus par Mathias Delfau.

http://christopheprat.com

Tools

Custom horizontal and vertical scrollbars at a time with jQuery

A client of mine wanted to use custom scrollbars for a website. I quickly found Kelvin Luck’s jQuery plugin for modifying the browser’s scrollbar. So, jScrollPane works great for vertical scrollbars and integrates neatly with Wordpress, when calling it like this from the <head> section:

var $j = jQuery.noConflict();
$j(function(){
    jQuery('.scroll-pane').jScrollPane({scrollbarWidth:10});
});

However, the client also wanted the horizontal scrollbars customized…
It strangely took me several hours to stumble upon the modification of Luck’s plugin by Threeformed, a canadian media company.
But I ran into problems integrating it with Wordpress’ noConflict function and had to modify all the calls to “$”, into “jQuery”. It then worked out, but I needed to be able to design it via CSS independently of the vertical scrollbars. In order to do that I added a second CSS selector, through which I was then able to design the horizontal scrollbars using other background images than for the vertical ones. +

Photos

Light

curlybracket-light-01curlybracket-light-02 +

solitude/périphérie

Porte de Charenton Paris 17ème, HLM +

Project contributions

Design Mailboy – a web interface for Postfix and Amavis

mailboy interface curlyI made a nice and sober theme for Mailboy, a webinterface for Postfix and Amavis written by Emmanuel Revah. Mailboy is available as a beta-version for the moment but will be published soon under the GPL-License.
As you can see, I even use the software myself and am very happy it exists. :)