No-JS PNG Solution
Posted: Thu Nov 08, 2007 8:19 am
Hello All,
Just started trying out CMSMS and am most impressed so far! Thanks a ton for the work so far. I had to implement a good PNG fix so I thought I might as well document it. It's based on Justin Koivisto's technique at http://koivi.com/ie-png-transparency/. I won't repeat what he says, just a quick checklist of what worked for me with CMSMS...
1. Create the replacePngTags.php.
2. Use the FileManager to upload the file to your server.
3. Create a User Defined Tag called "ob_start" and paste this into it...
4. Create another User Defined Tag called "replacePngTags" and paste this into it...
5. Edit you template(s) and place "{ob_start}" at the very top (before ) and "{replacePngTags}" at the very bottom (after .
This worked for me anyway. Remember to follow what Justin says, background images must be declared inline and so on.
Happy Coding,
Philip
Just started trying out CMSMS and am most impressed so far! Thanks a ton for the work so far. I had to implement a good PNG fix so I thought I might as well document it. It's based on Justin Koivisto's technique at http://koivi.com/ie-png-transparency/. I won't repeat what he says, just a quick checklist of what worked for me with CMSMS...
1. Create the replacePngTags.php.
2. Use the FileManager to upload the file to your server.
3. Create a User Defined Tag called "ob_start" and paste this into it...
Code: Select all
ob_start();
Code: Select all
include_once 'uploads/(some folder?)/replacePngTags.php';
echo replacePngTags(ob_get_clean());
This worked for me anyway. Remember to follow what Justin says, background images must be declared inline and so on.
Happy Coding,
Philip