Results 1 to 3 of 3

Thread: Blending Image Slideshow Script

  1. #1
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default Blending Image Slideshow Script

    This thread points out a bug (and its solution) in Blending Image Slideshow Script in Opera for which the script is rated. Since Opera sees 'document.all' as true, it tries to apply the IE only filters to the images, causing an error that stops the script in the Opera browser.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Thanks Jscheuer. I'll look at updating the script soon for this fix.

  3. #3
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The better fix would be to drop the browser detection (by object inference) altogether and use feature detection: if there is a filters property, manipulate it.

    Opera isn't the only browser to implement the all collection which is why object inference, just like user agent string parsing, is flawed and should be avoided.

    Mike

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
  •