Basic use of jqueryeasyui window

Source: Internet
Author: User

1. Basic use

Code:

<HTML xmlns = "http://www.w3.org/1999/xhtml">  

Or

<HTML xmlns = "http://www.w3.org/1999/xhtml">  

:

2. Window Toolbar

Code:

<SCRIPT type = "text/JavaScript"> $ (function () {$ ("# Win "). window ({Title: "form", width: 300, height: 200, iconcls: "icon-Add", collapsible: True, minimizable: True, maximizable: True, resizable: false, modal: True, href: "content. aspx ", tools: [{iconcls: 'icon-add', Handler: function () {alert ('add') ;},{ iconcls: 'icon-delete ', handler: function () {alert ('delete') ;}}) ;}); </SCRIPT>

:

3. Parameters

Most of the properties are the same as those of panel. Some private properties of window are listed below:

Attribute name

Type

Description

Default Value

Zindex

Number

The Z-index attribute of the window, which can be used to add

9000

Draggable

Boolean

Determines whether a window can be dragged.

True

Resizable

Boolean

Define whether the window size can be changed

True

Shadow

Boolean

If this parameter is set to true, the window shadow is displayed.

True

Modal

Boolean

Defines whether a window is a mode window.

False

Window also overwrites some properties in the panel.

Attribute name

Type

Description

Default Value

Title

String

Title Text of the window

New window

Collapsible

Boolean

Define whether to display the foldable definition button

True

Minimizable

Boolean

Define whether to display the minimization button

True

Maximizable

Boolean

Define whether to display the maximize button

True

Closable

Boolean

Define whether to display the close button

True

4. Events
Window events are the same as panel events.
5. Method
Except for "Header" and "body", the function method of window is the same as that of panel.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.