spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column65


Dynamic Properties

Developer News
OpenOffice 3.2 Lands Amid Critical Changes
Red Hat, IBM Firmly in KVM Virtualization Camp
Red Hat Talks Up Open Source Cloud Plans

In this column we cover a feature that was first introduced in Internet Explorer 5: Dynamic Properties. This feature allows you to declare property values not only as constants, but also as formulas. The formulas can reference variables, functions, and property values from other elements. This ability to declare a property value as a function of a property value from other elements allows authors unique flexibility when designing their Web pages. You can now create impressive and clever Web pages by exploiting the capabilities of dynamic properties.

Typical examples for using dynamic properties are:

  • A spreadsheet-like table that recalculates totals when a user enters a change in a cell. You can program, for example, an expense report form in which you have the days on the top and the expense items on the left. Your company will love it.
  • Animation that is is based on dynamic properties instead of explicitly recomputing values every pre-defined time step.
  • Animation that is based on a timer. If your application needs to recompute every pre-define time step, you can make its elements directly dependent on the time.

We demonstrate Dynamic Properties with a portion of the Solar System, including the Sun, the Earth, and the Moon. Most of the measurements are dynamic: the location of the sun with respect to the page, the distance between the earth and the sun, the distance between the moon and the earth, and the rotations' angular velocities.

In this column you will learn:

We also provide you with the listings of the Solar System as well as its zipped format.

Next: What are the benefits of Dynamic Properties

More Resources from Doc JavaScript
Columns Popular Columns Tips Tools
Latest Columns
41-50 | 31-40 | 21-30
11-20 | 1-10
Working with Windows
JavaScript and Frames
Bookmarklets
Random Tips
Personalized Tips
RSS Channels
Menu Builder
Rollover Builder
Rotation Builder
Reference Tip Categories (want one?)
Links
For Your Site
Did you learn something? Do you like this site? Please link to us!

http://www.internet.com

Produced by Yehuda Shiran and Tomer Shiran


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

webref The latest from WebReference.com Browse >
Search Engine Optimization: Selecting and Embedding Keywords · Are Google's Language Translation Web Services Ready for Prime Time? · Installing and Using Meeplace, the Business Review CMS
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
IBM DB2 10 for z/OS: Justifying the Upgrade · Living La Vida Colo: Choosing the Right Colocation Facility · FTC Concerns over Social Media Privacy Linger


Created: July 18, 2000
Revised: July 18, 2000

URL: http://www.webreference.com/js/column65/index.html