SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    Oct 1999
    Location
    New York, NY
    Posts
    826
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi --

    I received this snippet of email from a visitor to my web site, and I don't understand exactly what it 'means' or how I could fix it

    << I would like to point out to you that while running IE 4.5 on MacOS 9, I receive a JScript Error stating 'navigator.plugins.length' is not an object. >>

    Thanks for any help!

    Josh

  2. #2
    JavaScript Guru (Big Ego) Arielladog's Avatar
    Join Date
    Jul 1999
    Location
    SC, USA
    Posts
    390
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey,

    The problem is that IE doesn't support the plugin object under the navigator object. Instead, you'd have to detect plugins with ActiveX. So, when you always see:

    Code:
    navigator.plugins
    Replace it with:
    Code:
    if(navigator.appName=="Netscape"){
    navigator.plugins
    }
    So in your case, if you have something like:

    Code:
    x = navigator.plugins.length;
    Use:

    Code:
    if(navigator.appName=="Netscape"){
    x = navigator.plugins.length;
    }
    I''d have to see your code to help you more.

    aDog


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •