JavaScript Reference/Javascript Properties/blockDirection
Содержание
"blockDirection" Example
<source lang="javascript">
<html> <body>
Click in this text.
<script language="JavaScript">
function function1() { var m = document.all.myP1.blockDirection; alert(m); }
</script> </body> </html>
</source>
"blockDirection" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+
| Applied_To |<address>| | |<body>| | |currentStyle <custom> | | |
defaults | | | |
| |
- <fieldset> | | |<form> <hn> | | |<isindex>
- | | |<listing> <menu> | | |
| | |<plaintext>
| | |<xmp> | +----------------+--------------------------------------------------------------+ </source>
"blockDirection" Possible Values
<source lang="javascript"> Possible Values ltr flows from left to right rtl flows from right to left
</source>
"blockDirection" Syntax and Note
<source lang="javascript"> Note: Read-only property. Sets the text flow direction.
Syntax:
document.all.elementID.blockDirection
</source>