spacer

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

home / experts / javascript / column65


Dynamic Properties

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

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

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

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

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business


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

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