Bienvenu sur le journal de matinfo.ch. Utilisez 'par Tags', 'Catégories' ou 'Recherche direct' sur votre droite, pour trouver le contenu désiré. Pour en savoir plus sur ce site, sélectionnez la page «À propos».

jQuery Secure Random Images

Discover my first JQuery plugin...

... only 6.5 Kb!

Use it to randomize a image on each load of the page with a secure cookie logic to don't display always the same image (specially useful with small number of images - min. 3 images require).

Use like this - JS code:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script> <script src=" jquery.imgrandom-1.1.js" type="text/javascript"></script> <script type="text/javascript"> $('#random1').imgRandom ({    image_width: 337,    image_height: 506,    // not mandatory if you use the full URL on the image path below    images_path: '/files/blog/imgrandom/',    images: [               [                   'http://www.google.com/',   // link                   'test 1',                   // link title                   '76549543.jpg'              // image or image with path               ],               [                   '/about/',                   'test 2',                   '76549562.jpg'               ],               [                   '/about/',                   'test 3',                   'e010697.jpg'               ],               [                   'http://yahoo.com',                   'test 4',                   '79365635.jpg'               ]            ]});</script>

and the HTML container:

<span id="random1"></span>


Download: jquery.imgrandom-1.1.js

demo here

Commentaires (2) Permalink

Fonts for Web?

Choosing the web fonts for creating a web site is one of the big challenge of the designer.

Mostly 40% of the impact of the design is made by the font choose and standard web font - font installed on most computer and open - this fonts offer at the end a very limited possibility.

Font Tester - a free online font comparison tool.

It allows you to easily preview and compare different fonts side by side with various CSS font styles applied to them. It is very useful for web developers who are looking for just the right font/style/color to use in their pages. To use it all you have to do is simply enter the text you would like to preview, modify the various CSS properties until you find a style you like, and then click on the Get CSS Code button to generate all the necassary CSS code to reproduce those styles in your webpage.

Entrées correspondantes:
django-assetpackager installation
Permalink

django-assetpackager installation

INTRO

*

Entrées correspondantes:
Introduction
Fonts for Web?
Permalink

Introduction

A l'occasion du BarCamp organis
Entrées correspondantes:
django-assetpackager installation
Commentaires (5) Permalink

My favorite extentions for Firefox

Avec Firefox le must c'est les extensions, elles permettes d'
Entrées correspondantes:
D
Best SpeedTest
Commentaires (0) Permalink

Intel NIC: PXE-E05 error

With my ThinkPad T60p, I have some problem with the integrated NIC Intel PRO/1000 MT Mobile Ethernet (82573L). During the boot process, the Intel Boot Agent of the Ethernet ship, display a "PXE-E05" error like below:

Initializing Intel(R) Boot Agent GE v1.2.31
PXE-E05: The LAN adapter's configuration is corrupted or
has not been initialized. The Boot Agent cannot continue.

(error message 1)

And after a few second and 2 beep a other error message and you need to press ESC to continue the boot process:

ERROR 
Expansion ROM not initialized - PCI on Motherboard
Bus:00, Device:00, Function:00

Press ESC to continue

(error message 2)

To turn off this error message, the first solution is to disable completely, in the BIOS, the LAN interface. Not really a solution :-(

After a call with the ThinkCenter support and some wrong explanations and not really convinced. I made some seek on Google and found THE solution.

THE SOLUTION
The EEPROM of the Ethernet ship need a factory reconfiguration (reset). To make this, I made a bootable CD-ROM, to simplify the procedure, based on a solution found in the thinkpads.com forum...

Entrées correspondantes:
Gentoo on my T60p
Lire la suite ...Commentaires (169) Permalink

VaudTax sous Linux

D

Entrées correspondantes:
Gentoo: access violation summary
Flash Player 9 pour Linux
Gentoo on my T60p
Self-Signed certificat
Debian key update
Lire la suite ... Permalink

D

Firefox dispose nativement d'outils de d

Entrées correspondantes:
My favorite extentions for Firefox
Best SpeedTest
Permalink

Gentoo: access violation summary

Sous Gentoo, par exemple avec le kernel 2.6.19, lorsque vous n'arrivez pas installer ou mettre

Entrées correspondantes:
Gentoo on my T60p
VaudTax sous Linux
Flash Player 9 pour Linux
Self-Signed certificat
Debian key update
Permalink

Best SpeedTest

Pour contr

Entrées correspondantes:
My favorite extentions for Firefox
D
Permalink
Suivant >>1-10/16