On Apr 20, 2005, at 4:30 PM, Craig Hunter wrote:
OK, so Safari in 10.3.9 allows a transparent window (see the Debug
menu),
which works nicely when you embed CSS formatting for background
transparency
in your HTML:
<STYLE type=\"text/css\">
BODY { background-color: transparent }
</STYLE>
I have an app with a transparent window, but all WebViews have an
opaque
white background by default. Anyone know a way to force the WebViews
to
have a transparent background so that full transparency can be
realized?? I
assume that if Safari Can do it, any WebView should be able to
support it as
well.
There's a WebView method that didn't quite make the API cut for
10.3.9/10.4, but (ssh!) you can get away with calling it:
- (void)setDrawsBackground:(BOOL)drawsBackround;
- (BOOL)drawsBackground;
Your mileage may vary.
-- Darin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/
email@hidden
This email sent to email@hidden