Mouseover / popup hjælp
<!--Hvordan laver jeg denne om så jeg ved mouseover får billedet op i et popup istedet for mainimage og forsvinder igen ved mouseoutMinus AutoDato -->
<script>
function main(image)
{
var x = document.getElementById("mainimage");
x.src = image;
}
</script>
<TABLE HEIGHT="200" BORDER="0" ALIGN="center" CELLSPACING="8" CELLPADDING="0">
<tr>
<td width="100%" colspan="3" align="center" valign="top">
<img id="mainimage" src="husfoto/Huset.jpg" border="0" width="450"/></td>
</tr>
<tr>
<td width="33%" align="center" valign="top">
<img src="husfoto/Huset.jpg" alt="" border="0" onmouseover="main('husfoto/Huset.jpg')" width="68" height="51" /></td>
<td width="33%" align="center" valign="top">
<img src="husfoto/IMG_0062.JPG" alt="" border="0" onmouseover="main('husfoto/IMG_0062.JPG')" width="68" height="51" /></td>
<td width="34%" align="center" valign="top">
<img src="husfoto/IMG_0063.JPG" alt="" border="0" onmouseover="main('husfoto/IMG_0063.JPG')" width="68" height="51" /></td>
</tr>
<!--Hvordan laver jeg denne om så jeg ved mouseover får billedet op i et popup istedet for mainimage og forsvinder igen ved mouseout
Minus AutoDato -->
<script>
function main(image)
{
var x = document.getElementById("mainimage");
x.src = image;
}
</script>
<TABLE HEIGHT="200" BORDER="0" ALIGN="center" CELLSPACING="8" CELLPADDING="0">
<tr>
<td width="100%" colspan="3" align="center" valign="top">
<img id="mainimage" src="husfoto/Huset.jpg" border="0" width="450"/></td>
</tr>
<tr>
<td width="33%" align="center" valign="top">
<img src="husfoto/Huset.jpg" alt="" border="0" onmouseover="main('husfoto/Huset.jpg')" width="68" height="51" /></td>
<td width="33%" align="center" valign="top">
<img src="husfoto/IMG_0062.JPG" alt="" border="0" onmouseover="main('husfoto/IMG_0062.JPG')" width="68" height="51" /></td>
<td width="34%" align="center" valign="top">
<img src="husfoto/IMG_0063.JPG" alt="" border="0" onmouseover="main('husfoto/IMG_0063.JPG')" width="68" height="51" /></td>
</tr>
