screen shoot

Usage:
1.MDI Main Window
Add laputaxWinChild.js and laputaxWinMain.js to the mdi main win-page
Add style.css and xWin.css to the mid main win-page too.
2.MDI Child Window
Add laputaxWinChild.js and Add style.css to each mdi child win-page. recommand u to use THIS page as a template to create your own new page
3.Build your own desktop-page and startmenu-page
4. APIs:
xWin.create(sURL,width,height,modal,fixed,sName)
this function to open a new mdi child window
sURL : url for the new child window
modal : if set this value into true, the new mdi child window will be a modal one
fixed : if set this value into true, the new mdi child window will NOT be resized at run time
xWin.close()
close the mdi child window
xWin.maximize()
xWin.minimize()
xWin.move(top,left,width,height)
reset the window position and size
xWin.setTitle(sNewTitle)
change the Title/Caption
xWin.frontMe()
bring the window to the front
enjoin! :)
xWin 是纯JS, 不需要安装组件
介绍xWin,一种纯JavaScript实现的多文档界面(MDI)解决方案,无需额外组件安装。提供创建、关闭、最大化等API,并推荐使用特定页面作为模板来创建新的MDI子窗口。
7215

被折叠的 条评论
为什么被折叠?



