var s = ""
s += "<object id=WebOffice1 height=586 width='100%' style='LEFT: 0px; TOP: 0px' classid='clsid:E77E049B-23FC-4DB8-B756-60529A35FAD5' codebase=WebOffice.cab#V6,0,0,0>"
s +="<param name='_ExtentX' value='6350'><param name='_ExtentY' value='6350'>"
s +="</OBJECT>"
document.write(s)
WebOffice.cab放在要加载weboffice的页面下
方法:
IE选项-》安全-》启用保护模式,点击去掉对号“√”即可。