I have a webpage with an applet inside. This applet is the target for drag and drop from the OS, I just take the image from the folder, drag it to the applet and something happens.
I give this web page to a graphic designer and he asks if he can put the image behind a java applet so that he can simulate to change the background using CSS (this skin application and graphic design can change at runtime).
Practically I had to do:
<div>
<applet width="50" height="50" />
</div>
with this CSS:
div {
width:50px;
height:50px;
background-image: url(image.jpg) center center no-repeat;
}
But this does not work (the background is opaque).
Can I adjust the transparency for the applet without losing the ability to drag and drop?
I am looking for something similar to the flash wmode parameter .
CSS/HTML java, Java.