Results 1 to 2 of 2

Thread: Ultimate Fade Show Redux

  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 Ultimate Fade Show Redux

    This thread points out a possible problem with Safari 2.0 that I had originally thought might just be a matter of convenience for some 'obscure browser to be named later'.

    It seems, at least for the OP, and their experience is backed up somewhat by information I found on the web, that -khtml-opacity isn't how Safari 2.0 does opacity but rather just generic opacity.

    The script I modded up for the OP in that thread solves this problem by abandoning both -moz-opacity and -khtml-opacity in favor of, you guessed it, opacity - with a twist.

    When I was putting this script through its paces when DD first upgraded it, I discovered that certain older IE versions will try to go down the plain opacity route when they cannot, unless it is also tested for like so:

    Code:
    if (obj.opacity && !obj.filters)
    as shown in my modified code in that thread.

    An even better solution might be to provide the generic opacity option followed by both the -moz-opacity and -khtml-opacity options but, with modern Mozilla liking generic opacity as well, I saw little point in doing so.
    - 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 for that interesting new information. Coding for Mac/ Safari right now for me is like coding in the dark, since I don't have a Mac. Docs found on the web indicated -khtml-opacity and its support in Safari, so I took a leap of faith so to speak.

    I'll have to revisit this issue in a few weeks when this script is possibly updated again. I'm thinking of biting the bullet and just getting a Mac, although it'd do nothing but test run a few scripts, so it seems like a huge waste. My calculator probably has a harder life than that.

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
  •