please dont rip this site
The Screen Object

The Screen object is Internet Explorer 4.0 specific and can be used to determine details about the users screen size and colour depths etc. This can prove useful if content positioning relies on the size of the users screen.

Properties
availHeight
The availHeight property returns a value representing the available height of the users screen. This is the height property, minus that taken by any toolbars (i.e. the taskbar)

availWidth
The availWidth property returns a value representing the available width of the users screen. This is the width property, minus that taken by any toolbars (e.g. the Office toolbar)

bufferDepth
The bufferDepth property can be used to set an off screen buffering value. Setting the bufferDepth to "0", no explicit buffering is set and the colorDepth property is set to the screen depth. If bufferDepth is set to "-1" (the default), then off screen buffering is performed at the current screen depth and the colorDepth property matches the screen depth.

The bufferDepth property can be set to 1, 4, 8, 15, 16, 24 or 32, which then causes off screen buffering to occur at the set bit-per-pixel depth. i.e. bufferDepth=8 performs buffering at 8 bits per pixel, which is 256 colours. Setting the bufferDepth to any other value causes it to be set to "-1".

Note that when bufferDepth is "-1", if the user changes their system settings, the bufferDepth is automatically changed to the new screen depth.

colorDepth
The colorDepth property is read-only and reflects the users current system color depth settings, in bits-per-pixel. I.e. 256 colours, colorDepth=8, 16.7million colours, colorDepth=16.

Note that the colorDepth property is dependent on the bufferDepth property. If bufferDepth is set to 0 or -1, then colorDepth is equal to the bits-per-pixel value of the users system settings. However, if the bufferDepth has been explicitly set to a different value, then the colorDepth property is equal to the bufferDepth property.

fontSmoothingEnabled
The fontSmoothingEnabled property returns a boolean value indicating whether the user has font smoothing enabled on their system or not.

height
The height property reflects the users current screen height, in pixels.

updateInterval
The updateInterval property can be used to set (in mSec), the time between updates for the current viewing window. This is only really a problem when large (size or amount) moving, or continually refreshing images are present in a page.

setting updateInterval=0 resets the screen update Interval to its default setting, chosen by Internet Explorer.

width
The width property reflects the users current screen width, in pixels.

Methods
The Screen Object has no methods.

Events
The Screen Object has no events.


file: /Techref/language/html/ib/Scripting_Reference/screeno.htm, 4KB, , updated: 2004/3/1 16:47, local time: 2017/10/21 09:28,
TOP NEW HELP FIND: 
23.20.86.177:LOG IN

 ©2017 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE! / 

<A HREF="http://www.piclist.com/techref/language/html/ib/Scripting_Reference/screeno.htm"> The Screen object</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2017 contributors:
o List host: MIT, Site host massmind.org, Top posters @20171021 RussellMc, Van Horn, David, James Cameron, Sean Breheny, IVP, alan.b.pearce, Neil, David C Brown, Bob Blick, Denny Esterline,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .