Thumbnail pop-up window

wxdqz

New Member
I am using a popup window to open a thumbnail picture, the thing I need some advice with is, "How do I specify the background colour for the pop-up?" Everything else works fine.
Any advice

<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
function Zoom(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 bgcolor="#CCFFCC">
<div align="center"> <A HREF=http://www.webdeveloper.com/forum/archive/index.php/"javascript:Zoom('/images/site.gif')" bgcolor="#994433" >
<IMG SRC=http://www.webdeveloper.com/forum/archive/index.php/"/images/site.gif" BORDER="0" width="49" height="31"></A> </div>


<p><center>
</center>
</body>
</html>


See how it works here <!-- m --><a class="postlink" href="http://www.larbmoo.com/test.htm">http://www.larbmoo.com/test.htm</a><!-- m -->

Thank you in advance during this silly season
Morrison
 
Back
Top