myLib.desktop.win.newWin({
WindowTitle: userinfo.zsname,
iframSrc: '../ekangzs/yzzs.html?mid=1111',
WindowsId: 'ayzzs',
WindowStatus: 'maximized',
WindowMaximize: true, /* 布尔值 */
WindowMinimize: true, /* 布尔值 */
WindowClosable: true, /* 布尔值 */
WindowDraggable: true, /* 布尔值 */
WindowFullable: true, /* 布尔值 */
WindowFreshable: false,
WindowHeight: $(window).height() - 140,
WindowWidth: $(window).width() - 200
});
属性 | 描述 |
WindowTitle | 名称 |
WindowDesktopIconFile | 图标文件路径 |
WindowStatus | 窗口状态("window"-打开/"maximized"-最大化/"minimized"-最小化/"closed"-关闭) |
WindowPositionTop | 窗口距离顶部距离(像素数值不加px/"center") |
WindowPositionLeft | 窗口距离左边距离像素数值不加px/"center") |
WindowOuterWidth | 窗口宽度(像素数值不加px) |
WindowOuterHeight | 窗口高度(像素数值不加px) |
WindowMinWidth | 窗口最小宽度(像素数值不加px) |
WindowMinHeight | 窗口最小高度(像素数值不加px) |
WindowDesktopIcon | 是否在桌面上显示图标(默认true) |
WindowResizable | 是否可手动更改窗口大小(默认true) |
WindowMaximize | 是否显示最大化按钮(默认true) |
WindowMinimize | 是否显示最小化按钮(默认true) |
WindowClosable | 是否显示关闭按钮(默认true) |
LoadiFrameContentLater | iframe内容延迟加载(默认true) |
WindowDraggable | 是否可拖拽窗口(默认true) |
WindowAnimationSpeed | 渲染时间(数字,默认500) |
WindowAnimation | 窗口打开时的动画效果(默认easeOutCubic) - easeInQuad - easeOutQuad - easeInOutQuad - easeInCubic - easeOutCubic - easeInOutCubic - easeInQuart - easeOutQuart - easeInOutQuart - easeInQuint - easeOutQuint - easeInOutQuint - easeInSine - easeOutSine - easeInOutSine - easeInExpo - easeOutExpo - easeInOutExpo - easeInCirc - easeOutCirc - easeInOutCirc - easeInElastic - easeOutElastic - easeInOutElastic - easeInBack - easeOutBack - easeInOutBack - easeInBounce - easeOutBounce - easeInOutBounce |
WindowElementID | 窗口id |