JavaScript Reference/Javascript Properties/noShade
Содержание
"noShade" Example
<html>
<body>
<script language="JavaScript">
function function1() {
document.getElementById("myHR").noShade = false
}
</script>
<hr id="myHR" noshade="true" size="3">
<input type="button" value="Add a shade" onClick="function1();">
</body>
</html>
"noShade" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<hr> |
+----------------+--------------------------------------------------------------+
"noShade" Possible Values
Possible Values
true
false (the default).
"noShade" Syntax and Note
Note:
Read and write property.
<hr> element has a shade or not.
Syntax:
document.getElementById("hrID").noShade = value
document.all.hrID.noShade = value // IE only