如何写html到空frame
AddCssCodes( a_oDoc , "jstools//CommandPanel.css" ) ;
var _oFilterLayer = a_oDoc.createElement( "<div id=FilterLayer></div>" );
a_oDoc.body.appendChild( _oFilterLayer ) ;
var _oCommandPanelFrameContainer = a_oDoc.createElement( "<div id=CommandPanelFrameContainer></div>" ) ;
a_oDoc.body.appendChild( _oCommandPanelFrameContainer ) ;
//实现一个Iframe
var _oCommandPanelFrame = a_oDoc.createElement( "<iframe name='commandPanelFrame' src='javascript:false' id='commandPanelFrame' frameborder=0></iframe>" ) ;
_oCommandPanelFrameContainer.appendChild( _oCommandPanelFrame ) ;
_oCommandPanelFrame = a_oDoc.parentWindow.frames['commandPanelFrame'] ;
_oCommandPanelFrame.document.write( GetHtmlCodes( "jstools//CommandPanelFrame.html" ) ) ;
AddCssCodes( _oCommandPanelFrame.document , "jstools//CommandPanelFrame.css");
//添加语言包
AddLanguageJsCodes( a_oDoc ) ;
codes from comicOnline b04-05 scripts/jstools/commandPanel.js