spacer

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

home / experts / javascript / column18


JavaScript Animations, Part I

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

If you're using a fourth-generation browser, you can't miss the animated images on this page. Watch them move around simultaneously, in straight lines and circles. In this column we'll show you how to animate elements on a page.

Despite many new technologies such as Java, JavaScript, and Dynamic HTML, the Web is still mostly static. After reading this column you'll know how to bring your pages to life with a pre-packaged JavaScript library.

But that's not it. This is only the first in a series of two columns dealing with animations. In this column we'll discuss the animation "engine," as well as two basic paths -- the straight line and the circle. In the next episode we'll cover ellipses, sine curves, and much more, including useful bakward compatible implementations. In this column you'll learn:

  1. How to create an animation object.
  2. How to retrieve the element's left and top properties..
  3. How to set the element's visibility.
  4. How to move the element to a specified position.
  5. How to slide the element.
  6. How to move the element in a circular path.
  7. How to animate the element.
  8. How to define the animated elements and the animations.

At this point you may choose to view the code for the document, as well as the external animation library.

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


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: April 21, 1998
Revised: April 21, 1998

URL: http://www.webreference.com/js/column18/