
Originally Posted by
naini
EDIT: Also, do you have the file rotator.php that apparently is extremely important for the "thing" to work?
All rotator.php does is looks for a random .png in a folder and uses it as the image. It is in no way linked to the problem.

Originally Posted by
naiani
Another thing: I know it sounds *****y, but why would you use this kind of proprietary attribute? It's not a good idea, since it won't be interpreted the same way by different browsers, what might screw up your design. If you still want to use it, just make sure that it's not an essencial part of the "look'n'feel"/experience of your website, or you'll probably leave users that don't use a compatible browser (here it works both on IE7 and FF(!!!!)) out of it.
Yes, I have a script which detects the users browser and uses a different method if it is Firefox. But this attribute is the only way I can get it to work in IE7
Here is the stripped code I am using for IE7 only (minus all the php browser detection, etc):
Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
.forgroundcontent {
/*position:relative;*/
}
.backgroundcontent {
display:none;
}
html { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='themes/Milo/style/backgrounds/rotator.php', sizingMethod='scale');
}
</style>
</head>
<body>
<div class="forgroundcontent"></div>
<img class="backgroundcontent" src="themes/Milo/style/backgrounds/rotator.php" />
</body>
</html>
Bookmarks