![]() |
PNG Transparency for Internet Explorer
Ever wanted to allow your users to see transparent PNG images using Internet Explorer? Now you can!
[high]Note:[/high] I did NOT create this script, it remains the sole property of it's author. Pros & Cons Pros:
To install, simply upload the attached .js file to your /forums/clientscript/ directory. Then edit your headinclude template, and add the following: HTML Code:
<!--[if lt IE 7.]> Note: Updated to reflect changes by the author, and 3.5.x javascript handling changes. This template modification works fine with 3.6.x as it is, and therefore won't be posted in the 3.6.x forum! |
Very cool to share this, many will want this and especially nice to see the pros/cons against eachother. Good job.
|
Thanks, works great.
|
Quote:
|
I think you have to do a hard refresh for the new JS files to load.
Ctrl F5 |
Failing that; What version of Internet Explorer are you using and do you have javascript enabled?
|
Yeah, I restarted IE. I appreciate the work you did, and it must be good stuff. But I ended up using a different method. But thank you!
|
Great to see a solution which doesn't require modifying the PHP or how images are called. I used it to upload all new PNG emoticons to my site and it works great. Going to replace the icons with PNG tomorrow.
Hopefully since IE7 should support this transparently, more webmasters will start using PNGs to their full potential and we can see some cool things because of it. |
Nice, installed in 5 sec and working perfectly :nervous:
|
sure, this mod is no catch all -- but I do like that it does address the issue.
-installed- |
Hi - wondering if this could be made to work with a "runtime generated" png? We've just installed LaTex onto our forum and we output that as a transparent PNG, which looks fine on all browsers bar IE of course.
|
Absolutely brilliant...
I can now use the smiley maker ;) Thanks m8 your a star :) installed |
Thanks.
*installs* |
Anyone figure out a way to use background-image?
|
One of the most under-rated and under-used hacks/mods in existance.
THANK YOU Shame on you developers for not using PNG, regardless of IE support. Remember the whole firefox shebang? |
Perfect.
It addressed a concern I had for one of my skins. Very much installed! |
This hack works perfectly for me except for one major problem: Avatars.
I thought the problem was that height and width weren't specified, but I spent two hours trying to figure out how to add that and it still wouldn't work. Anyone? |
Fantastic :D
*install* |
wow, I was looking for something like this for my main site, and Viola! It works there too. Many thanks...installed and then some.
|
Quote:
|
I did everything as described and it doesnt work for me with the BBcode manager and rounded quotes hack.
https://vborg.vbsupport.ru/showthread.php?t=120073 Is it possible ? IE 6 here.. |
Stupid question but what does this actually do?
|
Quote:
Removes blue backgorund on transparet gifs in IE, I belive its IE that should be fixed. |
Quote:
There is a "bug?" in IE that prevents PNG transparency. This is a workaround so the images look okay. I've been using it for about a year now... |
excellent hack... very useful
|
Quote:
I use that hack to, but it also does not wants to work for me.. :( I'm using 3.6.2 Grtzz |
That modification contains a lot of this type of image reference in the coding:
Code:
<td style="background-image:url();"> |
Ohh okay sorry, I didn't cheked the CSS... My fault!
Thanks, Kris |
excellent hack
|
Where, exactly, in headinclude to we place this code ??
HTML Code:
<!--[if lt IE 7.]> |
haha this is just what i needed http://www.tamilultima.com
|
Great hack, works like a charm in 3.6.8 :)
Many thanks to the author and the thread starter :) |
Works great in 3.6.8 PL2. Thank you for sharing.
|
Does this work with vb 3.7 RC1 ??
|
I merged the xml into my style
uploaded the pics to the right path in images editor and the icons are not showing up? So what is it I have done wrong? : ) |
Quote:
|
Quote:
|
ok, I tried it just now, but it didn't work for me
even after doing hard refresh |
Thanks, in combination with the Wayne editor it works perfect on my 3.7.3 PL1 board :)
|
good job mann
|
All times are GMT. The time now is 03:56 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|