1. Home
  2. Computing & Technology
  3. JavaScript

Object Functions
Introduction

By Stephen Chapman, About.com

If you are going to code some dynamic HTML (dHTML) for your web pages then you will probably be moving objects around the screen, resizing objects, and/or making them appear and disappear. You will need a way of determining where the object currently is on the screen, how big it is, and whether it is visible or not. If you want your script to work on as many browsers as possible you will also want to use code that is compatible with all three Document Object Models.

To save you the effort of writing these functions yourself , I am supplying a set of eight functions that will provide this information for you. Let's start by looking at what functions there are.

Explore JavaScript
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.