JavaScript Layer Tag





The layer tag is supported by the Navigator4.x release which is an alternative to the CSS.In contrast to defining CSS layers the <layer> can be used to specify the position and the content of the HTML layer inside the <layer> tag within the body of the page. This tag supports the CSS positioning properties. In addition to that it also supports the following event handlers:
onMouseOver
onMouseOut
onFocus
onBlur
onLoad
The following example illustrates the use of the tag:
<html>
<head>
<title>Using the layer tag</title>
</head>
<body>
<layer
id="mylayer"
top="50px"
left="150"
width="300'
bgcolor="blue"
fontFamily="Courier">
<center>
Pentasoft<br>Education and Training <br>Leat from the Leader
</center>
</layer>
</body>
</html>
Domain Name Search
|