spacer

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

home / experts / javascript / column73


Netscape 6, Part II: Animation

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

How to Mimic Blinking

One of the proprietary features of Netscape Navigator is the <BLINK> tag. Although employing blinking is not generally recommended, usability-wise, as it distracts the user from the main content of the page, we'll teach you how to implement it in Netscape 6, nonetheless. Netscape 6 will retire this tag sometimes in the future. Instead, the W3C Standard calls for support of the text-decoration:blink feature in the STYLE attribute. The standard requires browsers to parse the text-decoration element, but does not require the blinking operation itself. Nevertheless, the text-decoration:blink feature is supported by both Netscape Navigator and Netscape 6. It is not supported by Internet Explorer. The following line should blink in Netscape Navigator:

This line should blink in Netscape Navigator

It is defined as:

<BLINK>This line should blink in Netscape Navigator</BLINK>

Once we use the text-decoration instead, we get the following HTML code:


<DIV STYLE="text-decoration:blink">This line should blink in
  Netscape Browsers</DIV>

Check if it's working in your browser:

This line should blink in Netscape Browsers

Both Netscape Navigator and Netscape 6 should blink at this line. Internet Explorer does not support any automatic blinking. The best way to become browser-independent is to implement the blinking yourself, by revealing and hiding the element, automatically.

Next: A Final Word

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


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