onload error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • andy johnson

    onload error


    I made the mistake of "upgrading" to IE6.0 on my windoze 98 laptop. I
    really wish bill gates would die in a horribly painful accident.
    Anyway, after much grief, I downloaded Opera and saw true religion.
    The good in this is I discovered my web site http://www.oawater.com
    has a slide show on the main page that is broke in Opera 7.11. I get
    this error message. Can anyone give me some direction?


    Event thread: onload
    Error:
    name: TypeError
    message: Statement on line 56: Expression evaluated to null or
    undefined and is not convertible to Object:
    document.images .SlideShow.filt ers
    Backtrace:
    Line 56 of linked script http://www.oawater.com/styles/show.js
    document.images .SlideShow.filt ers.blendTrans. Apply();
    In unknown script
    runSlideShow();
    At unknown location
    {event handler trampoline}

    Thanks,

    Andy

    "There would be a lot more civility in this world if people
    didn't take that as an invitation to walk all over you"
    - (Calvin and Hobbes)
  • Martin Honnen

    #2
    Re: onload error



    andy johnson wrote:
    [color=blue]
    > I made the mistake of "upgrading" to IE6.0 on my windoze 98 laptop. I
    > really wish bill gates would die in a horribly painful accident.
    > Anyway, after much grief, I downloaded Opera and saw true religion.
    > The good in this is I discovered my web site http://www.oawater.com
    > has a slide show on the main page that is broke in Opera 7.11. I get
    > this error message. Can anyone give me some direction?
    >
    >
    > Event thread: onload
    > Error:
    > name: TypeError
    > message: Statement on line 56: Expression evaluated to null or
    > undefined and is not convertible to Object:
    > document.images .SlideShow.filt ers
    > Backtrace:
    > Line 56 of linked script http://www.oawater.com/styles/show.js
    > document.images .SlideShow.filt ers.blendTrans. Apply();
    > In unknown script
    > runSlideShow();
    > At unknown location
    > {event handler trampoline}
    >[/color]

    Opera doesn't support any filters thus you need to check
    if (document.image s.SlideShow.fil ters) {
    document.images .SlideShow.filt ers.blendTrans. Apply();
    }
    --

    Martin Honnen


    Comment

    • HikksNotAtHome

      #3
      Re: onload error

      In article <kvc1lvcotbbimv a3o474daepr4i9u v9ekd@4ax.com>, andy johnson
      <andrew.johnson @chicagonet.net > writes:
      [color=blue]
      >Can anyone give me some direction?
      >
      >
      >Event thread: onload
      >Error:
      >name: TypeError
      >message: Statement on line 56: Expression evaluated to null or
      >undefined and is not convertible to Object:
      >document.image s.SlideShow.fil ters
      >Backtrace:
      > Line 56 of linked script http://www.oawater.com/styles/show.js
      > document.images .SlideShow.filt ers.blendTrans. Apply();
      > In unknown script
      > runSlideShow();
      > At unknown location
      > {event handler trampoline}
      >
      >Thanks,
      >
      >Andy[/color]

      filters and the such are pretty much IE only. As such, its not going to work in
      Opera. Not unless you backtrack out of it and use object detection to make sure
      the browser supports it.



      Use object detection, not browser detection though.
      --
      Randy

      Comment

      Working...