Welcome to WebmasterWorld Guest from 54.161.64.174

Forum Moderators: not2easy

Message Too Old, No Replies

DD BelatedPNG, has anyone used this?

     
10:24 pm on Sep 24, 2009 (gmt 0)

5+ Year Member



Hi guys,
In trying to workaround the lack of png transparency in IE 6, I am trying to use: <snip>

I have the code they recommend:
<div id="socialdiv" style="margin: 6px 0 0; text-align: center;">
<div>
<a
href="http://twitter.com/home?status=http://beta.example.com/"
onclick="window.open(this.href); return false;" style="text-decoration:none;">
<img src="images/socialicons/Icon/twitter.png"
alt="Tweet This"
style="vertical-align: middle;" title="Tweet This" /> Tweet This</a>
</div>
</div>

Code for IE 6 png transparency(below the div above):

<!--[if IE 6]>
<script type="text/javascript" src="css/DD_belatedPNG_0.0.8a.js"></script>
<script type="text/javascript">
/* EXAMPLE */
DD_belatedPNG.fix('#socialdiv');

/* string argument can be any CSS selector */
/* .png_bg example is unnecessary */
/* change it to what suits you! */
</script>
<![endif]-->

I keep getting a belatedPNG undefined error. Has anyone else tried this? Please let me know what I'm doing wrong.
Or if there is a better way to fix IE 6 transparency issue.

[edited by: swa66 at 8:52 am (utc) on Sep. 25, 2009]
[edit reason] No URLs, use exmaple.com, please see ToS and Forum Charter [/edit]

 

Featured Threads

Hot Threads This Week

Hot Threads This Month