Welcome to TalkGraphics.com
Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 31

Thread: transluscency?

  1. #21
    Join Date
    Nov 2006
    Posts
    1,602

    Default Re: transluscency?

    If you want this transparancy applied always
    Then use flash,makes even smaller file and is more vectorlike
    besides you can set "wmode" transparent.


    Gr.Hans
    Attached Files Attached Files

  2. #22
    Join Date
    Mar 2006
    Posts
    17

  3. #23
    Join Date
    Mar 2006
    Posts
    17

    Default Re: transluscency?

    actually, Wizzard's approach isn't quite working when the image is a link.

    if you hover over the 'Test' image with your mouse in IE6, vs. FF, you'll see what I mean.

    This would be a deal-breaker for me, because I need the images to serve as buttons in a menu. Looks like some tweaks to the CSS are needed to get the image to work as a link in IE6, but I can't figure out how to make it work.
    Last edited by potion; 21 December 2006 at 03:59 PM.

  4. #24
    Join Date
    Dec 2006
    Location
    Newton-le-Willows, Merseyside, UK
    Posts
    47

    Default Re: transluscency?

    Hi Potion,
    The link would be a problem I'll see if there is another way over the hols ;-)

    PS. you are after rollover images?
    Wizzard <|:-)
    "All things being equal, the simplest solution tends to be the best one."

  5. #25
    Join Date
    Mar 2006
    Posts
    17

    Default Re: transluscency?

    Yes, I'm after rollover images. Something like...

    <a href="some_page.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','images/some_image.gif',1)">
    <img name="Image3" src="images/some_image2.gif" border="0" width="193" height="25">
    </a>

    Thanks.
    Last edited by potion; 21 December 2006 at 07:38 PM.

  6. #26
    Join Date
    Dec 2006
    Location
    Newton-le-Willows, Merseyside, UK
    Posts
    47

    Default Re: transluscency?

    Quote Originally Posted by potion View Post
    Yes, I'm after rollover images.Thanks.
    I'll look into it over the holls.

    Merry Christmas and a Happy New Year.
    Wizzard <|:-)
    "All things being equal, the simplest solution tends to be the best one."

  7. #27
    Join Date
    Mar 2006
    Posts
    17

    Default Re: transluscency?

    thanks Wizzard. Some add'l research suggests that this is going to be too complicated.

    There's some info here in the 'IE Link Bug' section. I followed the links (those that are still working) in that section and it just seems to get muddier and muddier the more I read.

    I'm just going to try to position my images over top of the bg image so it looks like there is one continuous background.

  8. #28
    Join Date
    Oct 2003
    Location
    Reading, United Kingdom
    Posts
    168

    Default Re: transluscency?

    Quote Originally Posted by potion View Post

    http://webcommunicate.net/translucency_test.html

    That's with Alien's code included.
    But incorrectly. The source for that page has:

    Code:
    <img src="test-trans.png" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='whatever.png', enabled='true')" width="361" height="238" alt="" />
    where it should be:

    Code:
    <img src="" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='test-trans.png', enabled='true')" width="361" height="238" alt="" />
    So maybe it does work in IE 6. I have 7 so can't test it.

  9. #29
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: transluscency?

    I tried it using IE 6.1 and it seems to work to some extent.

    Disregard the text saying it is being test in IE 7.0, I didn't take the time to make a new image.

    The top rectangle has 25% Transparency without the filter.

    The bottom rectangle is the same png file, with the filter statement as JWhitham posted.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	semitrans.JPG 
Views:	167 
Size:	55.7 KB 
ID:	33719  
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  10. #30
    Join Date
    Oct 2003
    Location
    Reading, United Kingdom
    Posts
    168

    Default Re: transluscency?

    Great news! Lack of proper alpha blending for png in the most used browser has annoyed the hell out of me for years. I had no idea there was a work around.

 

 

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
  •