Ok, nevermind, I finally managed to solve the problem. The reason why transparency didnt work in IE was because I was generating the IFRAME in the wrong way for IE (in my javascript).
I solved it by using this method instead:
Code:
function addTest()
{
var m = document.getElementById('objMain');
if (document.all)
{
m.insertAdjacentHTML("beforeEnd",
"<IFRAME SRC='lols.htm'
ALLOWTRANSPARENCY='true'></IFRAME>");
}
else
{
var wnd = document.createElement('iframe');
wnd.setAttribute('src', "lols.htm");
m.appendChild(wnd);
}
}
m.insertAdjacentHTML for IE
m.appendChild for firefox
Thanks for the help anyways!
Bookmarks