Fejl i code
Sådan ser min følgende kode ud, det virker fint i ie, men det skaber sig selfølgelig i Netcrap øhhh... jeg mener Netscape:<script language="javascript">
function Skjul()
{
if (InformationTabel.SkjulVis.value == 'Skjul') {InformationTabel.Information.TagHeight = InformationTabel.Information.height; InformationTabel.Information.TagWidth = InformationTabel.Information.width; InformationTabel.Information.height = '0'; InformationTabel.Information.width = '0'; InformationTabel.SkjulVis.value = 'Vis';}
else {InformationTabel.Information.height = InformationTabel.Information.TagHeight; InformationTabel.Information.width = InformationTabel.Information.TagWidth; InformationTabel.SkjulVis.value = 'Skjul';}
}
</script>
<table border="1" name="Skjul2" width="200" bordercolor="black" style="border-width:0,25p;">
<tr>
<form name="InformationTabel">
<td>
<img src="billede" name="Information">
<font face="Tahoma,Verdana" size="1" color="black">
<div align="right"><input type="button" align="right" value="Skjul" name="SkjulVis" onclick="Skjul()"> </div>
</font>
</td>
</form>
</tr>
</table>
