Welcome to the blog of matinfo.ch. Use 'by Tags', 'LiveSearch' or 'Categories' on your right to find your desired content. To know more concerning this site, go to «About» page.

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

Comments (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.

Related Entries:
django-assetpackager installation
Permalink

django-assetpackager installation

INTRO

*

Related Entries:
Introduction
Fonts for Web?
Permalink

Happy New Year 2008!

A tous une merveilleuse ann

Related Entries:
Joyeux No
Happy New Year 2006!
Permalink

Introduction

A l'occasion du BarCamp organis
Related Entries:
django-assetpackager installation
Comments (5) Permalink

Dylan, est n

Je suis fi

Read whole post Permalink

My favorite extentions for Firefox

Avec Firefox le must c'est les extensions, elles permettes d'
Related Entries:
D
Best SpeedTest
Comments (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...

Related Entries:
Gentoo on my T60p
Read whole postComments (169) Permalink

VaudTax sous Linux

D

Related Entries:
Gentoo: access violation summary
Flash Player 9 pour Linux
Gentoo on my T60p
Self-Signed certificat
Debian key update
Read whole post Permalink

D

Firefox dispose nativement d'outils de d

Related Entries:
My favorite extentions for Firefox
Best SpeedTest
Permalink
Next >>1-10/22