trouble with NS4 objectModel
<html>
<head>
<script>
/*
Will somebody please tell me why I don\'t get two identical 100px by 100px squares?
One is fine fine but the other one gets crazy like some inline stuff? i don\'t know?
This is of course meant to be working in Netscape.
I\'ve done something similar in Internet Explorer and it works fine!
I know that my object-handling sucks, maybe that is my problem?
The only reason i\'ve put stuff inside the layer tags is because
the scriptet layer wouldn\'t show otherwise - yet another mysteri!
*/
function nsLayer(callsign,a,b,x,y,bC)
{
document.write(\"<layer name=\'callsign\'>TESTING123</layer>\");
document.layers[\'callsign\'].width=a;
document.layers[\'callsign\'].height=b;
document.layers[\'callsign\'].top=x;
document.layers[\'callsign\'].left=y;
document.layers[\'callsign\'].bgColor=bC;
}
nsLayer(\'abc\',100,100,100,100,\'blue\');
</script>
</head>
<body>
<layer bgcolor=red width=100 height=100 top=100 left=200>TESTING123<layer>
</body>
</html>
