Screen Properties: Final Thoughts - Doc JavaScript | WebReference

Screen Properties: Final Thoughts - Doc JavaScript


A Final Word

Almost everything we've shown you in this column can also be achieved in Navigator 3.0x, with the aid of LiveConnect, the JavaScript-Java communication. However, due to various bugs, this is almost impossible. Furthermore, relying on Java to execute JavaScript is usually not worth the risk and the slow performance.

The new screen object exposes a wide range of screen-related properties. We discussed its documented and undocumented properties in this column, and how you can take advantage of them. We explained:

  1. How to access the screen object without generating an error.
  2. How to determine the screen's dimensions, including the available portion of the screen.
  3. How to find out how many colors the user's system is capable of displaying.

https://www.internet.com


Created: April 7, 1998
Revised: April 7, 1998

URL: https://www.webreference.com/js/column17/final.html