Split-pane not showing up in IE
Baldeep Hira <[email protected]> Mon, 6 Dec 2004 16:48:11 -0800
| Newsgroups | gmane.comp.windows.devel.netwindows |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am using "netWindows 0.4_pre17fix1" and the split-pane is not
showing up in IE 6. It shows up correctly in Firefox. Here is the
sample code that I am using to display the split-pane.
<!-- *****************************************************************************
-->
<!-- **********************************SplitPane.jsp***************************
-->
<!-- *****************************************************************************
-->
<html>
<head>
<title>Split-Pane example</title>
<script type="text/javascript" src="netWindows/InfNWwrapper.js"></script>
<style>
.SplitPane-bar-td, .SplitPane-ghost-bar-div {
margin: 0;
padding: 0;
cursor: pointer;
background-color: #b7b7b7;
}
</style>
</head>
<body>
<h1>This is a split-pane example</h1>
<div style="border: 1px solid black;">
<div nwType="split_pane" vertical="true" firstPaneSize="300"
dragBarWidth="4">
<div nwType="pane" id="treePane">
The tree widget will be placed in here.... Plus lets do
something that can be done
with a lot less time and effort... this is pretty cool as
long as it works...
</div>
<div nwType="pane" id="detailerPane">
Detailer pane portion of the split pane...<br />
hahahha... man this is taking some time to get this div up
and running.
</div>
</div>
</div>
</body>
</html>
<!-- *****************************************************************************
-->
<!-- *****************************************************************************
-->
<!-- **********************************InfNWwrapper.js************************
-->
<!-- *****************************************************************************
-->
var NWrootURL = "netWindows/";
var NWcorePathDir = "winScripts/";
var NWcoreFile = "netWindows_full_core.js";
if(!window["NWconfig"]){
NWconfig = {};
}
NWconfig.corePath=NWcorePathDir;
NWconfig.findWidgets=true;
NWconfig.obeyRequestEnv=true;
NWconfig.cacheTxtURLData=true;
NWconfig.includeTooltips=false;
NWconfig.tooltipsEnabled=false;
NWconfig.applyThemedStyles=false;
NWconfig.autoLoad=true;
NWconfig.isProduction=false;
NWconfig.loadEvalName="loadNWExtras";
NWconfig.ieclear=true;
NWconfig.rootPath=NWrootURL;
function loadNWExtras(){
__scripts__.require(__config__.widgetPath+"split_pane_widget.js");
__scripts__.require(__config__.widgetPath+"tree_widget2.js");
return true;
}
// begin actual inclusion of the netWindows framework
document.write('<script src="'+NWrootURL+NWcorePathDir+NWcoreFile+'"
type="text/javascript"><\/script>');
<!-- *****************************************************************************
-->
thanks in advance,
Baldeep
_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org