Hi Alex
I have the following
which ends up creating a transparent window in Firefox. The same does not happen in IE7 although the following will
After looking at WATCH in the Developer Console - it looks like windows in IE have an <IFRAME> which causes the window to render with a white background. Was wondering why IE uses an IFRAME and if there is a workaround (other than emulating a window)?
My background window is done the following way -
Thanks
Kam
I have the following
Code:
isc.Window.create({
ID: "treeWindow",
width: "20%",
height: "95%",
title: "Navigation",
headerStyle: "windowHeader",
autoSize: false,
autoDraw: false,
allowResize: true,
animateMinimize: true,
showResizer: false,
showMaximizeButton: true,
canDragReposition: true,
canDragResize: true,
backgroundColor: null,
bodyBackgroundColor: null,
backgroundImage: null,
styleName: null,
showEdges:false,
showShadow:true,
shadowDepth:6,
shadowOffset:5,
items: [
NavigationModule.create({
ID: "navigationModule",
width: "100%",
height: "100%",
dataSource: tree,
autoFetchData: true,
showConnectors: true,
showHeader:false,
selectionType:"single",
showRoot: false,
autoDraw: false,
autoSize: false,
allowResize: false,
animateFolders: true,
animateFolderSpeed: 50,
showDetailFields: false,
border: "1px solid #BBBBFF",
backgroundColor: null,
bodyBackgroundColor: null,
backgroundImage: null })
]
});
Code:
NavigationModule.create({
ID: "navigationModule",
width: "100%",
height: "100%",
dataSource: tree,
autoFetchData: true,
showConnectors: true,
showHeader:false,
selectionType:"single",
showRoot: false,
autoDraw: false,
autoSize: false,
allowResize: false,
animateFolders: true,
animateFolderSpeed: 50,
showDetailFields: false,
border: "1px solid #BBBBFF",
backgroundColor: null,
bodyBackgroundColor: null,
backgroundImage: null
})
My background window is done the following way -
Code:
<style type='text/css'>
#bg_image {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
z-index: 0;
}
</style>
<SCRIPT LANGUAGE='Javascript' SRC='resources/pngfix.js'></SCRIPT>
</HEAD>
<BODY>
<div id="bg_image">
<img src="resources/bg_gradient.png" style="width: 100%; height: 100%;">
</div>
...
Thanks
Kam
Comment