When the user clicks the thumbnail image the full picture loads in a new window. The window can optionally be configured to close a fixed number seconds after the page has loaded.
Step 1: Add the below code to the <body> section of your page:
<scriptlanguage="javascript"type="text/javascript"> /* Visit http://www.yaldex.com/
for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin timeout =0;// Close window after __ number
of seconds?
// 0 = do not close, anything else = number of seconds
function
Start(URL,
WIDTH,
HEIGHT){ windowprops ="left=50,top=50,width="+(WIDTH+50)+",height="+(HEIGHT+50);