cronos 3 posts since
May 5, 2008
2.
Re: How to make an applet "transparent"? May 5, 2008 11:59 PM

in response to:
URPradhan
Thank you for your suggestion, URPradhan.
but after all the trial, I haven't found any solution yet. Here's some HTML code I've used for your information.
and I don't really think that all the elements need the background properties shown below.
<body>
<!-- background area (background) -->
<div style="position:absolute; top:0px; left:0; border:0px solid yellow; width:100%; height:100%; z-index:1; ">
<font style="font-size: 100px;">Hello, world!</font>
</div>
<!-- <div style="position:absolute; top:0px; left:0; border:0px solid yellow; width:100%; height:100%; z-index:2; background: transparent;">
<font style="font-size: 200px;">I can see this overlayed message.</font>
</div> --> <!-- uncomment to see the transparent layer -->
<!-- main body (Curl Applet) -->
<div style="position:absolute; top:0px; left:0; border:0px solid black; width:100%; height:100%; z-index:2; background: transparent;">
<OBJECT ID="CurlObject" DATA="curl/start.curl" TYPE="text/vnd.curl" width=100% height=100% style="background: transparent;">
You need to install the
<a href="http://www.curl.com/download/rte/">Curl RTE</a>
to run this applet.
</OBJECT>
</div>
</body>
I've also tried iframe using allowTransparency="true" tag.
Any help will be appreciated.