spacer

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

home / experts / javascript / column73


Netscape 6, Part II: Animation

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

This column is the second part of our series on Netscape 6. In this column we'll cover animation topics. Animation with DHTML can become very messy as far as browser-independency is concerned. Browsers use different syntax and different semantics for their physical property names. One browser may use top while another may use pixelTop. One may use a property to denote position with respect to the window, while another may opt to reference the entire document. Netscape 6 boasts about being DOM-compliant. The DOM is critical for browser-independent scripting. Netscape 6 does bring us closer to the ultimate panacea, but there are still some differences between Internet Explorer 5.5's DOM and Netscape 6's DOM.

We chose to cover several topics related to animation. We'll give you first some hints on how to find elements on the page. The innerHTML property was not originally part of the DOM, but both IE and Netscape 6 support it. We'll show you how take advantage of it to create attractive effects on your page. We'll demonstrate the essence of animation: moving elements right and left, up and down the page. Since animation is done with coordinates, we'll cover how to set, get, and initialize them. No animation can be complete without hiding and revealing elements. We'll teach you about visibility, and the differences between IE 5 and Netscape 6. We'll also discuss an alternative to the BLINK tag, which Netscape wants to retire sometimes in the future.

In this column, you will learn:

Next: How to extract all elements with a given tag

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

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


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/index.html