JavaScript Reference/Javascript Properties/right — различия между версиями
(нет различий)
|
Версия 21:30, 25 мая 2010
"right" Example
<source lang="javascript">
<html> <body>
This is some sample text.
<button onclick="alert(myP.getBoundingClientRect().right);">Right</button> </body> </html>
</source>
"right" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |TextRectangle | +----------------+--------------------------------------------------------------+
</source>
"right" Syntax and Note
<source lang="javascript">
Note: Read and write property. Sets the right coordinate for the container object.
Syntax:
textRectangleName.right = value
</source>