Be a little careful with Java Script rollovers script that are if
frequent use and free available on many sites. As I'm sure you are
aware, image replacement is available on NS 3.0+ and IE 4.0+. Most
scripts use some varient of:

  if (
      ( navigator.appName == "Netscape"
          && parseInt (navigator.appVersion) = 3 )
      ||
      ( navigator.appName == "Microsoft Internet Explorer"
          && parseInt (navigator.appVersion) = 4 )
      ||
          ) {
            version = "acceptable";
          } else {
            version="unknown";
      }

    It's cumbersom and it's not bullet proof. To illustrate, the Opera
browser support rollovers but will not be displayed using this code. The
obove script snippet  - which is very popular -- will not work for
anything above Netscape 3.0 or IE 4.0. At least chent the = to >=.

    All of the above can be accomplished with one line of code:

   AcceptableBrowser = document.images;

This test to see if the functionality is supported and sets a pseudo
Boolean Variable - Acceptable Browser -- to true or false (actually 0 or
1 but you get the idea.)

    If MS were to release IE 3.0 (highly unlikely) so it supports
rollovers, the detection line would work, unmodified. 

    For a complete explaination check out:

http://www.usats.com/rollover/

The page also contains a JS rollover generator. Fill in the blanks,
submit, and the script will e-mail you a complete JS page ready to go. It
will generate the code for the top of the page as well as well as the
HTML

Urb, [EMAIL PROTECTED]

Visit America's Town Square. Creators of extraordinary Web sites.
http://www.usats.com   Build your own Home Page without knowing
any HTML. Many user selectable options. After creation, your page 
is e-mailed to you. http://usats.com/homepage

Urb, [EMAIL PROTECTED]

Visit America's Town Square. Creators of extraordinary Web sites.
http://www.usats.com   Build your own Home Page without knowing
any HTML. Many user selectable options. After creation, your page 
is e-mailed to you. http://usats.com/homepage

____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to