Thumb-O-Matic V2 by Chris Heilmann

Thumb-O-Matic?deutschenglish

Thumbnail galleries have become quite a standard on the net. However, the normal gallery provides you with
either a new browser-window per clicked link or with the necessity to click your back button all the time (or alt+<-)
for keyboard maniacs like me.
Thumb-O-matic V2.0 now gives you the chance to create a new kind of gallery, as the pictures will
 appear in an own layer! This layer is created on the fly without you having to know anything about CSS or Javascript at
 all!
This is as yet a beta, please cross-test the demo page, and report
any bugs to me (including platform/browserinfo)
Chris Heilmann

    Usage
    
To use Thumb-O-Matic V2.0 in your own Pages, you copy the code in the <head> section and trigger the function in the <body> with onload="initthumb()".
The linktag itself has to contain the function that does the effect. You can alter the following there:
<a href=javascript:dopic(name,auto,picx,picy)><img... ></a>

name
is the picture filename (f.e. img/mypic.gif)
auto
triggers wether the pic gets automatically centered over the mouseposition at clicktime or not
 (1 = on 0 = off).
picx
is the x-position of the layer when auto is disabled or the offset of the centering when auto is enabled
picy
is the y-position analogue to picx

In line 38 to 40 of the script you can also define the following:
var rahmen='silver' //border-color
var alttext="Click to close the picture" // Alt

    Copyright
    
This script is open source written by Chris Heilmann, you are invited to use it freely for non-profit purpose, as long as you keep the infos and the links to this page in the sourcecode. Companies shall contact me for info.
Thanks to Dan Steinman, his tutorial helped me created the larger deal of this function.
May the source be with you. 

    Source
    
	Thumb-O-Matic V2.0 uses DHTML, and Javascript 1.2, the routine is not executable without a HTML document doing the onload initialization.
The script requires a browser capable of DHTML.(Netscape 4+, IE 4+)
