SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: pngfix script not working
-
Jun 9, 2007, 19:25 #1
- Join Date
- Aug 2005
- Posts
- 574
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
pngfix script not working
I'm having a problem with this site in that the png transparencies aren't working in IE 6 or 7. I added a JavaScript file that I've used before to fix it but it's not working here. I may not be calling it correctly or something. The file is pngfix.js and I'm calling it in the header like this:
Code:<!--[if lt IE 7]> <script defer type="text/javascript" src="pngfix.js"></script> <![endif]-->
-
Jun 9, 2007, 20:20 #2
- Join Date
- Sep 2005
- Location
- Sydney, NSW, Australia
- Posts
- 16,875
- Mentioned
- 25 Post(s)
- Tagged
- 1 Thread(s)
That code is just a comment as far as IE7 is concerned as it is an instruction for only IE5 through IE6 to include the JavaScript.
Stephen J Chapman
javascriptexample.net, Book Reviews, follow me on Twitter
HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
<input name="html5" type="text" required pattern="^$">
-
Jun 10, 2007, 00:45 #3
IE7 supports PNG alpha channels you do not need a script for it.
Are you using a standalone version of IE (any version)?
Bookmarks