Hello all,
I’ve used the bellow snippet to create the dummy iframe, but it look ugly, and I want to make it transparent, I can’t find solution through Google
shimmer.style.background=‘#000000’;
BWT. without a background color, the dummy iframe will not appear
Thanks in advance
Try:
shimmer.style.backgroundColor = 'transparent';
That assumes that shimmer is a valid reference to the body element of a document.
Thank you so much for fast response, I’ll try this
This works on all browsers but Firefox. Why
Remember Firefox has a default white background, but if that’s not it, how do you get the shimmer reference?
I get it from here:
OraTransplant » Using IFrame Shim to (partly) cover a Java applet
I try to overlay a java applet with a dummy iframe to display a dropdown javascript menu.
OK, I found it.
Here’s the solution:
shimmer.style.backgroundColor = ‘rgba(255, 255, 255, 0.5)’;
Thanks for your help