Connexion
One Laptop per Child Logo
Google Search
Google

LabsSphère Catégories
Css (9)
Php (8)
Javascript (11)
Xoops (5)
Divers (1)
Design (10)

Catégorie : Css


Boris | 2007-04-16T21:50:13+02:00 | 9722 lectures

Lightbox-likeSmoothBox, par Boris PopoffLa conversion pour Mootools de Thickbox, une lightbox-like fonctionnant sous jQuery. Elle permet d’afficher :Une image seuleUn groupement de plusieurs imagesDu contenu inlineDu contenu via IframeDu contenu AJAXElle permet également d’afficher, si vous le souhaitez, du flash, en passant par l’iframe. Le seul autre script presque aussi polyvalent est SqueezeBox d’Harald Kirschner, mais il ne fait pas l’iframe Sinon, les deux scripts font à peu près le même poids, 11k pour smoothbox, 10k pour SqueezeBox.SqueezeBox, par Harald KirschnerUne des meilleures lightbox-like pour mootools que je connais...


2007-08-24T07:53:00+02:00 | 1772 lectures

Normally I don’t spend any time looking at advertising because I don’t watch live TV anymore. We own a HD recorder and we cut out all commercial blocks so that our favorite shows contains no mood spoilers. Once in a while a spot comes along that makes you forget it’s advertising.The Happiness FactoryIt all started with an animated spot made by Psyop for Coke and agency Wieden+Kennedy. Since launching in 2006, the original "Happiness Factory" has gone on to become the highest rated global spot The Coca-Cola Company has ever tested. The ad has won several awards including a "Silver Lion" at the 2007 Cannes advertising awards, the "Grand Prix Gold Prize" at the 2006 Epica A...


2007-11-13T12:05:00+01:00 | 1367 lectures

People really seem to like my Illustrator tutorials, but I do receive a lot of e-mail with one common question ”How did you create those curvy lines used in motion trails?” The first thing that you need to master and become proficient in is the Pen tool.The pen toolThe problem with the pen tool is that is isn't easily explained, because you need to feel and see how it works. Also when you are using Illustrator's Pen tool as long as I do you tend to forget how difficult and confusing it can be for beginners. Making a screencast out of it isn't the best solution so I got inspired by a PDF document by the University of Massachusetts. In that document you see how it all works, fro...


2009-03-06T21:24:00+01:00 | 1049 lectures

Perhaps I'm using delicious.com wrong, but sometimes I wish I had the ability to narrow down my results from a variety of different tags rather than excluding results that don't share the first tag I marked. That's where this exercise came into play.The technique can be used anywhere. In my line of work (online hotel reservations), I've experimented with this technique for a room selection for online hotel reservations. For instance, hide all but the non-smoking rooms with a king bed, and only show me rooms that I can pay for in advance to get the cheaper price. That sort of thing.For this article, I'm going to base my examples on delicious.com's bookmarks.View demoDisclaimer stuffThis...


2007-10-02T10:06:00+02:00 | 947 lectures

Here is another step-by-step tutorial (per reader’s request) where I show you how to draw the basic shape of a coat of arms and a banner by using the Pen tool and Reflect tool in Adobe Illustrator. For those who are struggling with the Pen tool or readers that are just starting to use Illustrator, this is a prefect exercise. I’ll explain every move and step on how you draw the path. Draw a coat of arms basic shapeHere's what we'll do: We draw the left part first. Then we'll copy and reflect this path to the right and join both ends.Make sure rulers are active (command/control + r). Drag a vertical guide from the rulers towards the center of your document. Select the Pen t...


John Pozadzides | 2007-10-11T07:41:16+02:00 | 920 lectures

CSS Juice has an interesting collection of rounded corner techniques to share:Rounded corners is one of the most popular and frequently requested CSS techniques. Even the father of Internet Google also launch the rounded corners style markup with their Google Adsense and let users to custom their ads recently. Actually, there are a lot of methods and techniques to create rounded corners with Cascading Stylesheets. Some are quite simple just need pure CSS, and a part of them need 2 to 4 background corner images and Javascript. Find them here.


2007-11-05T16:08:00+01:00 | 805 lectures

After updating to Leopard I noticed that a plugin that I really love wasn’t working anymore. I’m talking about Volume Logic, an audio enhancement plugin for iTunes. My first reaction was to go to their website and see if they had an alert or update for Leopard.Big SurpriseBig was my surprise when I was greeted with a "closing night" picture and that it had been discontinued.Volume Logic & Leopard: This product line was discontinued prior to the release of the Apple Leopard operating system and is not compatible with the latest from Mac operating system. You can try the following if you have installed the final release version of Leopard and are having problems with Volume ...


Boris | 2007-07-13T16:41:37+02:00 | 756 lectures

La plupart des utilisateurs naviguent sur internet avec le cache de leur navigateur activé, ce qui est en soit une bonne chose. Cela permet de diminuer le trafic requis pour afficher la page, la page s’affiche donc plus vite, et le serveur a moins de données a uploader.Le souci, c’est que quand vous apportez des modifs à vos fichiers JS ou CSS, si l’utilisateur a déjà des anciennes versions dans son cache, son navigateur ne les téléchargera pas, à moins que l’utilisateur vide son cache manuellement (CTRL+F5), ce que les utilisateurs “lambda” ne font pas.Nous allons voir comment exploiter le comportement des navigateurs face aux paramètres en GET dans l...


2008-02-13T10:06:00+01:00 | 726 lectures

Sometimes it’s needed to go look in odd places to find inspiration. Take patterns for example, often used for backgrounds etc. There is a bit of a trend in interior design at the moment with the revival of the vintage wallpaper backgrounds from the sixties & seventies.Vintage wallpaper patternsThis post can work both ways as it can be an inspiration for creating patterns in Illustrator or to re-decorate your house. Like with everything the true power lies in how you execute it. Finding the right balance is essential. With that out of the way let's dive in.Some inspiration from wallpaper Johny Tapete http://www.vintagewallpapers.be 5Qm Second Hand Rose http://www.rosiesvintagewal...


Boris | 2007-06-06T16:31:20+02:00 | 566 lectures

Si comme moi vous utilisez putty, vous vous êtes déjà sans doute rendus compte qu’il n’y a aucune option pour exporter ou importer vos paramètres. Cela est fort regrettable, dans le sens où à chaque fois que vous changez de poste, vous devez tout reconfigurer : couleurs, polices, comportement du terminal, etc…En fait, la configuration est stockée dans la base de registre, l’importation et l’exportation est donc possible.Pour exporter votre configuration, ouvrez une ligne de commande (démarrer > exécuter > cmd), puis tapez :regedit /e putty.reg HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\SessionsVos paramètres seront alors sauvegardés dans un fichier .reg, d...


2008-02-22T10:47:00+01:00 | 543 lectures

The moment of truth is finally here! I’m ready to announce who is in for a prize. This wasn’t easy, as you’ve seen in my previous post there are a lot of great entries in this pool. I’ve picked a bunch of favorites let them rest for a bit and came back to them and made my final decision.Here are the winnersI'm not going to kill the suspense any longer, here they are:1st PrizeAdobe Creative Suite CS3 Design Premium or CS3 Web Premium or CS3 Production Premium (winner's choice)Adobe Kuler t-shirtJuanma & Gabriele2nd PrizeiPod Nano Red donated by EllisLab1 annual online training account for 1 year from the Kelby Media GroupAdobe CS3 t-shirtGravitymachine3rd prize...


Raphael | 2009-10-30T11:00:53+01:00 | 517 lectures

Vouloir créer facilement des blocs aux coins arrondis est un rêve de webdesigner aussi vieux que le Web lui-même.Traditionnellement, depuis les débuts du web, on réalisait ceci à l'aide de plusieurs éléments <div> imbriqués (ou autres), ou à l'aide d'un tableau à 9 cellules : la cellule du centre accueillait le contenu, tandis que les autres recevaient des images ou des images de fond étirables, pour dessiner les quatre coins et les bordures. Cette technique est généralement lourde et peu accessible.C'est pourquoi depuis quelques années et l'avènement des feuilles de style, de multiples techniques ont vu le jour pour proposer des solutions que l'on peut regrouper selon les critères ...


Boris | 2008-04-22T23:53:52+02:00 | 467 lectures

J’avais un peu galeré pour le trouver celui là En fait il cible les moteurs KHTML et WebKit, c’est à dire toutes les versions de Safari, et Konqueror.html[xmlns*=""] body:last-child ... { ... }Testé avec Konqueror 3.5, Safari 1.2 Mac, Safari 1.3 Mac, Safari 2.0 Mac, Safari 3.1 Mac, Safari 3.1 Win, IE6, IE7, IE8, FF1.5, FF2, FF3Source : BTreeHugger’s Blog


2009-02-18T16:53:22+01:00 | 430 lectures

Today’s post is a brief one because the past week and the coming weeks are just so busy for me I can’t find the time to write a more extended article. Still, I hope some of you will find what I share is valuable. ProblemA while ago I received an e-mail from a reader asking me if I could help him drawing a coil using a stroke. How do you create the overlapping effect?SolutionThe simple trick is to make a cut the stroke into 2 parts and move one part in fron of the other.The you'll notice a tiny gap in the path where you made the cut.To hide this, select the top stroke color (in my example white) in the Appearance palette and change the Cap options of the strokes to Round Cap.


ramin | 2006-10-13T02:32:59+02:00 | 384 lectures

Update 10/13/2006: Put in a flag to check when an image is being swapped so that the user clicks don't register until image has fully loaded. This fixed the fast-click / double-click issue (on both the thumbnails as well as the back/next links)Also updated the mouse hover area for the thumbnail activation to be 25px from the top by default (used to be 50). This is ofcourse configurable. I will have full explanation on how to use the gallery soon.Demo page has been updated. You may also grab a zipped up version of the whole project here: gallery.zip.I'm been playing around with jQuery a lot lately. It's definitely not the holy grail of Javascript toolkits, but I like it. The community crea...