Shecky
01-16-2003, 12:31 AM
is it possible to make a transparent oPopup window? It always comes up white when i tell it to be transparent. Anyway... that, to me SCREAMS 'impossible,' but i figured i would ask just in case.
a visual (http://www.technosquid.com/externaljunk/test.html)
<HTML xmlns:t ="urn:schemas-microsoft-com:time">
<?IMPORT namespace="t" implementation="#default#time2"?>
<HEAD>
<style>
.time{behavior: url(#default#time2)}
</style>
<SCRIPT LANGUAGE="JScript">
var oPopup = window.createPopup();
function SplashScreen()
{
var oPopBody = oPopup.document.body;
var w = 236;
var h = 249;
var x = (screen.width - w) / 2;
var y = (screen.height - h) / 2;
oPopBody.style.backgroundColor = "transparent";
oPopBody.innerHTML = "<img src='http://www.technosquid.com/externaljunk/partlytranssample.gif'>";
oPopup.show(x, y, w, h);
}
</SCRIPT>
</HEAD>
<BODY bgcolor="blue" onload="SplashScreen()">
<t:animate dur="10" onend="oPopup.hide();"/>
</BODY>
</HTML>
a visual (http://www.technosquid.com/externaljunk/test.html)
<HTML xmlns:t ="urn:schemas-microsoft-com:time">
<?IMPORT namespace="t" implementation="#default#time2"?>
<HEAD>
<style>
.time{behavior: url(#default#time2)}
</style>
<SCRIPT LANGUAGE="JScript">
var oPopup = window.createPopup();
function SplashScreen()
{
var oPopBody = oPopup.document.body;
var w = 236;
var h = 249;
var x = (screen.width - w) / 2;
var y = (screen.height - h) / 2;
oPopBody.style.backgroundColor = "transparent";
oPopBody.innerHTML = "<img src='http://www.technosquid.com/externaljunk/partlytranssample.gif'>";
oPopup.show(x, y, w, h);
}
</SCRIPT>
</HEAD>
<BODY bgcolor="blue" onload="SplashScreen()">
<t:animate dur="10" onend="oPopup.hide();"/>
</BODY>
</HTML>