JavaScript Reference/Javascript Properties/availWidth

Материал из Web эксперт
Перейти к: навигация, поиск

"availWidth" Example

   <source lang="javascript">
   

<html> <body> <button onClick="alert(screen.availWidth);">Available Width</button> </body> </html>


     </source>
   
  


"availWidth" is applied to

   <source lang="javascript">

+----------------+--------------------------------------------------------------+ | Applied_To |screen | +----------------+--------------------------------------------------------------+

     </source>
   
  


"availWidth" Syntax and Note

   <source lang="javascript">

Note: Read-only property. Returns the width of the working area. The working area of the screen does not include the taskbar.

Syntax:

screen.availWidth


     </source>