Mark,
This is really awesome! Definitely a clever solution. I'm just
having one problem that's a little strange. I'm using the window to
display an embedded Flex application. It displays properly and looks
great, but the mouse clicks are all offset by what appears to be the
amount of inset of the content to the window. In other words, when I
click on the Flex GUI, it's as if I'm actually clicking down and to
the right of where my cursor is pointing. Any idea what would cause
that?
When I don't include fixup.js, the window decoration screen overlays
are of course missing, but the flex div appears and operates
correctly.
Here's what the content of the div displayed in the dialog looks like:
function showWindow(title, url) {
var dialogs = $("dialogs");
var dialogDiv = document.createElement('div');
dialogDiv.innerHTML='<embed type="application/x-shockwave-flash" ' +
'src="' + url + '" ' +
'id="balloon" ' +
'name="balloon" bgcolor="#ffffff" ' +
'quality="high" wmode="opaque" ' +
'menu="true" height="100%" ' +
'width="100%"/> ';
// The rest of the method is just like in the tutorial
}
John
> > > >contentis "greyed" out, and clicks on the earth and on other
> > > > backgroundcontentis ignored.
> > > > > > > > > > > > transparent iframes which allow thecontenton top of them to be seen