I have added many new functions.
Demo address: xWinHTCDemo.htm
CSS: global.css
HTC: xwin. htc
Features:
1. easy to use. after css is referenced in the page, you can directly use <x: win> to generate a window, which is very simple. in <x: win>, you can use left, top, width, and height to initialize the window. If no value is set, the window content is determined by default.
2. Supports multi-window nesting. Supports drag, scaling, and maximum minimization.
3. Supported methods:
<Public: method name = "Close"/>
<Public: method name = "Destroy"/>
<Public: method name = "Max"/>
<Public: method name = "Min"/>
<Public: method name = "MoveTo"/>
<Public: method name = "ResizeTo"/>
<Public: method name = "SetContent"/>
<Public: method name = "SetTitle"/>
<Public: method name = "ShowHide"/>
Attribute:
<Public: property name = "Body" get = "getBody" put = "putBody"/>
<Public: property name = "Title" get = "getTitle" put = "putTitle"/>
Is it like a real window? Haha