Click on the thumbnails to open up the image in a new window.
This is the HTML of the page:
| <html> <head> <title>Picture Pop-Up Windows</title> <SCRIPT LANGUAGE="JavaScript"> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin function CaricaFoto(img){ foto1= new Image(); foto1.src=(img); Controlla(img); } function Controlla(img){ if((foto1.width!=0)&&(foto1.height!=0)){ viewFoto(img); } else{ funzione="Controlla('"+img+"')"; intervallo=setTimeout(funzione,20); } } function viewFoto(img){ largh=foto1.width+20; altez=foto1.height+20; stringa="width="+largh+",height="+altez; finestra=window.open(img,"",stringa); } // End --> </script> </head> <body> <p>Click on the thumbnails to open up the image in a new window.</p> <p align="center"><a href="javascript:CaricaFoto('../pics/mar2004/lwi_yoda.jpg')"><img border="0" src="../pics/mar2004/lwi_yoda.gif" width="50" height="50"></a> <a href="javascript:CaricaFoto('../pics/mar2004/maui/maui_haleak10.jpg')"><img border="0" src="../pics/mar2004/maui/maui_haleak10.gif" width="50" height="50"></a> <a href="javascript:CaricaFoto('../pics/st/mqt/mqt_rusty500_5.jpg')"><img border="0" src="../pics/st/mqt/mqt_rusty500_5.gif" width="50" height="50"></a></p> </body> </html> |