spacer

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

home / experts / javascript / column13


Sliding JavaScript Banners

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

In this column we'll discuss a specific script, and through that script we'll explain various concepts. If you reached this page, you probably know we're going to talk about banners. So take a look at the script in action:

We'll show you:

  1. How to specify the banner's position.
  2. How to use external JavaScript files.
  3. How to configure the banner.
  4. How to assign the banner's messages to an array.
  5. How to initialize the banner.
  6. How to create the banner's elements.
  7. How to fill the banner's elements.
  8. How to set an element's visibility.
  9. How to rotate the messages.
  10. How to move the messages.

The banner's external JavaScript files are:

  1. bannerconfig.js
  2. banner.js

For your convenience, you may also download a zip file containing banner.html, bannerconfig.js, and banner.js. Simply extract the files into any directory and load banner.html in your browser (Navigator 4.0x or Internet Explorer 4.0x).

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

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint


Created: February 10, 1998
Revised: February 10, 1998

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