Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Transparent object in IE

  1. #1
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,394
    Thanks
    32
    Thanked 153 Times in 147 Posts
    Blog Entries
    34

    Default Transparent object in IE

    Does anyone know how to make <object type="text/html"></object> transparent in IE?
    ===
    Arie Molendijk

  2. #2
    Join Date
    Jan 2008
    Posts
    4,167
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    I don't know if this will work:
    But try giving it an outer div, and give that div all the opacity(includeing ie's: filter: alpha(opacity=..); )
    I don't know if it will work, but its work a try.
    Jeremy | jfein.net

  3. #3
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,394
    Thanks
    32
    Thanked 153 Times in 147 Posts
    Blog Entries
    34

    Default

    Thanks Nile, but that doesn't work.
    I tried everything, including what you suggest, but without luck so far.
    ===
    Arie.

  4. #4
    Join Date
    Jan 2008
    Posts
    4,167
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Can I see your page please?
    Jeremy | jfein.net

  5. #5
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,394
    Thanks
    32
    Thanked 153 Times in 147 Posts
    Blog Entries
    34

    Default

    Nile, I don't have a page for that. I'm just wondering why, for this code:
    Code:
    <div style="position:absolute;top:100px">shine through shine through shine through shine through shine through shine through shine through shine through shine through shine through </div>
    <object type="text/html" data="http://www.google.com" height="400px" width="400px"></object>
    the 'shine through-text' does what it says in non-IE, but not in IE. In IE, it does not shine through. But I want it to.
    ===
    Arie.
    Last edited by molendijk; 07-01-2008 at 03:58 PM. Reason: Correction

  6. #6
    Join Date
    Jun 2008
    Posts
    589
    Thanks
    13
    Thanked 54 Times in 54 Posts
    Blog Entries
    1

    Default Alas, a Solution

    This should do:
    Code:
    <div style="position:absolute;top:100px;">shine through shine through shine through shine through shine through shine through shine through shine through shine through shine through </div>
    <object type="text/html" data="http://www.google.com" height="400px" width="400px" style="filter:alpha(opacity=50);opacity:0.5; -moz-opacity:0.5;"></object>
    By the way: it is "translucent", not "transparent".

    -magicyte
    Last edited by magicyte; 07-01-2008 at 07:46 PM. Reason: syntax...

  7. #7
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,394
    Thanks
    32
    Thanked 153 Times in 147 Posts
    Blog Entries
    34

    Default

    Magicyte, I do mean transparent (= clear: can be seen through), not translucent (= allow light to pass through diffusely).
    Your code makes the 'shine through-text' itself transludent. It does not make the object (that loads Google) transparent in IE: nothing shines through the object.

    Anyhow, thanks,
    ===
    Arie.

  8. #8
    Join Date
    Jun 2008
    Posts
    589
    Thanks
    13
    Thanked 54 Times in 54 Posts
    Blog Entries
    1

    Default

    Well, actually, you can change the number from 50 to 00, 0.5 to 0.0, and 0.5 to 0.0. That WOULD MOST DEFINATELY work and help for u. it makes it completely see-through. INVISIBLE.

    -magicyte

  9. #9
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,394
    Thanks
    32
    Thanked 153 Times in 147 Posts
    Blog Entries
    34

    Default

    I see what you mean, but changing the numbers won't make the object less see-through or more see-through in IE.
    Arie.
    Last edited by molendijk; 07-01-2008 at 08:18 PM. Reason: Correction

  10. #10
    Join Date
    Jun 2008
    Posts
    589
    Thanks
    13
    Thanked 54 Times in 54 Posts
    Blog Entries
    1

    Default

    What version of IE do you have? That would most definately help.

    -magicyte

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
  •