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
Google Going Native With Chrome
Mozilla Fixes Firefox Flaws as 3.5 Release Nears
Microsoft and Novell Still Bosom Buddies

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

webref The latest from WebReference.com Browse >
XML and PHP Simplified · Creating a ASP.NET Contact Form · Data Filtering with PHP
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Intel to Host Live Nehalem Q&A · 12 Tips to Troubleshoot Network File-Sharing · 10 Tips for Selling on Kijiji


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

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