spacer

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

home / experts / javascript / column32


Scrolling HTML Basics, Part III: The Cross-Browser Version

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

Scrolling HTML is an efficient way to display more information in less space than static HTML can, and can be used for many purposes including news, sports, and stock information. In this column we'll combine the Netscape and Explorer versions to create a cross-browser pausable scrolling HTML box.

Cross Browser Common Ground

In this column, we'll focus on the similarities and differences between Netscape Navigator and Internet Explorer that are relevant to our implementation of the scroller. We'll combine the Netscape and Explorer versions, and make the overall skeleton of the code consistent between browsers. We'll use different methods to handle inconsistencies between browsers which we described in a previous column, Introducing DOCJSLIB - A Cross-Browser JavaScript Library.

Scrolls Any External HTML File

This implementation is unique in that it uses an external file of bulleted links, without partitioning or parsing the content of this file. This capability enables you to decorate this external file with text and graphics and still be able to scroll it in the scrolling box. In fact, the file could consists of no links at all, and still be able to put through the scroller.

In this column you'll learn:


At this point, you may also view the code for the Scroll Box and its control parameters, as well as download its zipped version.

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


All Rights Reserved. Legal Notices.
Created: December 21, 1998
Revised: December 21, 1998

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