home / experts / javascript / column73 |
|
Moving Objects HorizontallyOne of the trickiest task in DHTML is to move objects on the screen, browser-independently. Let's focus on the horizontal location of an object, usually associated with the word
That renders like this: Click the button and see it moving to the right 500 pixels. Notice that the measurement (500) is specified with its units of measure (pixels). If you try to drop the
And you can play with it as well: Next: How to move objects vertically |
Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: December 18, 2000
Revised: December 18, 2000
URL: http://www.webreference.com/js/column73/4.html