jQuery EasyUI API Chinese Documentation - Panel panel_jquery
overrides defaults with $.fn.panel.defaults.
Usage Example
Creating Panel
1. Creating Panel via Markup
Creating Panel from Markup is easier. Add the 'easyui-panel' class to the
collapsible= "true" minimizable="true" maximizable=true>
panel content.
panel content.
2. Create Panel programmatically
Let us create a Panel with a toolbar in the upper right corner. .
panel content.
panel content.
$( '#p').panel({
width:500,
height:150,
title: 'My Panel',
tools: [{
iconCls:'icon-add' ,
handler:function(){alert('new')}
},{
iconCls:'icon-save'
handler:function(){alert('save')}
}]
});
Move Panel
Call the 'move' method to move the Panel to a new location.
$('#p').panel('move ',{
left:100,
top:100
});
Loading content
Let’s load the panel content via ajax and display something when loading is successful information.
$('#p').panel({
href:'content_url.php',
onLoad:function(){
alert('loaded successfully');
}
});
特性
名称 |
类型 |
说明 |
默认值 |
title |
string |
显示在Panel头部的标题文字。 |
null |
iconCls |
string |
在Panel里显示一个16x16图标的CSS类。 |
null |
width |
number |
设置Panel的宽度。 |
auto |
height |
number |
设置Panel的高度。 |
auto |
left |
number |
设置Panel的左边位置。 |
null |
top |
number |
设置Panel的顶部位置。 |
null |
cls |
string |
给Panel增加一个CSS类。 |
null |
headerCls |
string |
给Panel头部增加一个CSS类。 |
null |
bodyCls |
string |
给Panel身体增加一个CSS类。 |
null |
style |
object |
给Panel增加自定义格式的样式。 |
{} |
fit |
boolean |
当设为true时,Panel的 尺寸就适应它的父容器。 |
false |
border |
boolean |
定义了是否显示Panel的边框。 |
true |
doSize |
boolean |
设置为true,创建时Panel就调整尺寸并做成布局。 |
true |
noheader |
boolean |
要是设置为true,Panel的头部将不会被创建。 |
false |
content |
string |
Panel身体的内容。 |
null |
collapsible |
boolean |
定义了是否显示折叠按钮。 |
false |
minimizable |
boolean |
定义了是否显示最小化按钮。 |
false |
maximizable |
boolean |
定义了是否显示最大化按钮。 |
거짓 |
닫을 수 있음 |
부울 |

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



If you delete the panel option on gnome and some options on power management in the Ubuntu system, the menu bar and status bar in the Ubuntu system will disappear. Restoring gnomepanel can solve this problem, so how to do it? The editor below will bring you the Ubuntu method to restore the accidentally deleted GNOMEPanel, let's go and take a look! The method is as follows: 1. Directly press Alt+F2, then enter gnome-terminal in the dialog box that comes out, and press Enter to execute Pop up the command line terminal, or Ctrl+Alt+T to pop up the command line terminal. 2. Enter gconftool-2--shutdown.

According to news from this site on October 7, Innolux announced that its consolidated revenue in September 2023 will be NT$19.9 billion (Note from this site: currently approximately NT$4.517 billion), an increase of 3.6% from the previous month and an increase of 3.6% from the same period last year. An increase of 17.3%. In September, large-size combined shipments totaled 9.29 million pieces, an increase of 3.1% from the previous month; small and medium-sized combined shipments totaled 21.41 million pieces, a 16.1% decrease from the previous month. Innolux's third-quarter consolidated revenue was NT$57.7 billion (currently approximately NT$13.098 billion), an increase of 20.1% from the same period last year and an increase of 4.7% from the previous quarter. Large-size combined shipments totaled 27.95 million pieces, a decrease of 17.1% from the previous quarter; small and medium-sized combined shipments totaled 70.78 million pieces, a decrease from the previous quarter.

According to news on June 27, according to the latest report released by research organization Omdia, in the first quarter of 2024, global smartphone organic light-emitting diode (OLED) panel shipments exceeded liquid crystal display screens (LCD) for the first time in history. The report shows that annual smartphone display shipments will reach 1.45 billion units in 2023, a year-on-year increase of 5%. By the first half of 2024, shipments are expected to reach 715 million units, a year-on-year increase of 9%. Among them, active matrix organic light-emitting diode (AMOLED) screen shipments increased to 182 million units in the first quarter of 2024, a year-on-year increase of 39%. In contrast, thin film transistor liquid crystal display (TFTLCD) shipments dropped to 1.72 billion pieces, down 10% year-on-year. Om

According to CINNO Research statistics, global AMOLED smartphone panel shipments will be approximately 190 million pieces by the first quarter of 2024, a year-on-year increase of 44.6% and a month-on-month decrease of 18.8%. Data show that in terms of regions, South Korea's share narrowed to 46.6%, and domestic manufacturers accounted for 53.4% of shipments. At the same time, the share increased by 15.6 percentage points, a month-on-month increase of 8.5 percentage points, and the share exceeded 50% for the first time. The market share narrowed from 53.3% in the same period last year to 41.0%. The market share fell by 12.3 percentage points year-on-year, and the share dropped to only 40%. The reliance on Apple and Samsung mobile phones is getting deeper and deeper, and orders from other domestic Android brands continue to be transferred out. BOE AM

According to CINNO Research statistics, AMOLED smartphone panel shipments in the global market in 2023 will be approximately 690 million pieces, a year-on-year increase of 16.1%. It is particularly worth mentioning that shipments in the fourth quarter increased by 30.9% year-on-year and 35.1% month-on-month. This shows that the AMOLED panel market is growing steadily. In the global AMOLED smartphone panel market, flexible AMOLED panels occupy an important position, accounting for 77.8%. Compared with last year, the proportion of flexible AMOLED panels increased by 9.2 percentage points. This means that consumer demand for flexible AMOLED panels is increasing. The success of AMOLED panels is mainly due to their excellent display effects

Recently, LG Display announced that its 27-inch 480Hz QHD gaming OLED panel has officially entered mass production. This panel has created a new high in refresh rate and response speed among OLED products. The 480Hz refresh rate is paired with a GtG grayscale response time of 0.02ms, which is a step further than the previous record of 0.03ms, bringing the ultimate experience to game types such as FPS and racing. . The new panel optimizes LG Display’s META Technology to improve the luminous efficiency of OLED materials. The image quality is enhanced and specular reflection is greatly reduced. The four-sided frameless design expands the field of view and brings an immersive experience. Pixel structure optimization WRGB pixel structure is optimized for gaming and document editing needs. Text display is clearer

According to news from this site on November 6, according to the official public account of Runto Technology, Runto Technology today released the data of the "Global Commercial Display Panel Market Analysis Quarterly Report", which shows that in the third quarter of 2023, global large-size interactive tablets Display panel shipments were 1.056 million pieces, an increase of 21.0% over the same period in 2022, and the shipment area was 1.641 million square meters, an increase of 18.7% over the same period in 2022. This site found that Luotu Technology stated that although the volume and area in the quarter both experienced a sharp increase of about 20%, due to the market drag in the first half of the year, the cumulative shipments in the first three quarters still fell by 7.4% compared with 2022. Cumulative shipment area decreased by 7.2%. ▲Unit: thousand pieces, thousand square meters, %, source: Runto

HTML, CSS, and jQuery: Technical Guidelines for Implementing Sliding Panel Effects With the popularity of mobile devices and the development of web applications, sliding panels, as a popular interaction method, are becoming more and more common in web design. By implementing the sliding panel effect, we can display more content in a limited space and improve the user experience. This article will introduce in detail how to use HTML, CSS and jQuery to achieve the sliding panel effect, and provide specific code examples. HTML Structure First, we need to create a basic
