spacer

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

home / experts / javascript / column65


Dynamic Properties

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

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, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint


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

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