//Map Pan zoom control, the PC side is located at the top left of the map, and it contains controls for panning and zooming the mapMap.addcontrol (New Bmap.navigationcontrol ());Scale control, default at the bottom left of the map, showing the scale relationship of the mapMap.addcontrol (New Bmap.scalecontrol ());The thumbnail map control, which is located at the bottom right of the map by default, is a collapsible thumbnail mapMap.addcontrol (New Bma
How to flexibly and quickly master the application of the RowEditing component should meet the requirements of everyone. Today I will give you a detailed description of the use of this component. 1. Create varrowEditingExt. create ( amp; #39; Ext. grid. plugin. rowEditing amp; #39;, {pluginId: amp; #39; rowEditi... how to flexibly and quickly master the application of the RowEditing component should meet the requirements of everyone. Today I will give you a detailed description of the use of t
Usage scenario: Adds a listener event when the window is closed.The right way to use:Addwin = new Ext.window ({title: ' New ', Closable:true,width:500,autoheight:true,border:false,plain:true,modal:tru E,layout: ' Fit ', bodystyle: ' padding:5px; ', maximizable:false,//prohibit maximizing closeaction: ' Hide ', closable:true,//whether there is a close Colla psible:true,//collapsible iconcls: ' Bind ', listeners : {' hide ': {fn:makesure}},items: [ADD
1: The folding panel can place different types of content in different panels.These panels are stacked on the page. You can click the titles of each panel to expand the Panel and view the panel content,At the same time, other panels are automatically collapsed and hidden.$ (Selector). accordion (options );Options has the following attributes:Disabled, active, animated, autoHeight, clearStyle, collapsible, event, fillSpace, header, icons, navigation, n
- }, { theTitle'first Page', +Html:'This is the first page', closable:true A }] the + }] -});View CodeShow page diagram:The div for the body section is:Property Details:Region:west, East, north, south, center; Note: center must have, otherwise errorContentel: Select the ID label from the page as the content fillCollapsible: Whether it can be foldedSplit: The collapsible is tr
there is only one section, no other section can be opened after it is closed, so we just want to close it.Fortunately, we can set accordion's collapsible to true so that this unique section can be folded and opened. You only need to modify the script as follows:Copy codeThe Code is as follows: Run the program again, Okay, as we thought.
Figure 10
2.2.3Accordion nesting
Another problem is accordion nesting. At first, I encountered some trouble tryi
HTML The reference : HTML
HTML5 Custom Data Attributes (data-*)Thanks to HTML5, we are now having the ability to embed custom data attributes on all HTML elements. These new custom data attributes consist of the parts:Attribute name: The data Attribute name must is at least one character long and must is prefixed with ' data-'. It should not contain any uppercase letters.Attribute value: The Attribute value can be any string.1 ulID= "Vegetable-seeds">2 Lidata-spacing= "10cm"Data-sowing
. collapsible: false, // whether to fold fit: true, // automatic size pageSize: 10, // The number of records displayed on each page. The default value is 10 pageList: [10]. // you can set the list method: 'post', columns: [{field: 'allname', title: 'mall name', width: 150, sortable: true },{ field: 'url', title: 'url', width: 150}], keyHandler: {up: function () {}, down: function () {}, enter: function () {}, query: function (q) {// dynamic search $ (
I was surprised to learn this because I did use Ajax without seeing the Ajax shadow in the slightest, which must have been great.The properties of the Panel, methods and behavior are relatively many, here do not do too much cumbersome, here is only about some of the Ajax operations of the Panel encapsulation.$ (function () {$ ("#box"). Panel ({title: ' Search Panel ', width:500,height:500,iconcls: ' Icon-search ', Left:300,top:150,cla: ' A ', HEADERCLS: ' B ', bodycls: ' C ',//fit:true,//border:
separation bar region: 'west ', collapsible: true}); var pnCenter = new Ext. tabPanel ({region: 'center', activeTab: 0, items: [{title: 'inbox ', authHeight: true, closable: true, // whether html can be disabled: 'The received email is displayed here... '}]}); Var vp = new Ext. Viewport ({layout: "border", items: [pnNorth, pnWest, pnCenter]});
Column Layout
The Column layout is a Column layout. For example, I have two sub-panels in one panel. What s
search, but writing documents a bit painful, suitable for task/bug tracking management, etc.
Gitbook, Nodejs installation, support markdown, support NPM plug-in, the left of the collapsible directory tree will need to install plug-ins, you can also install search plugins, directories are separate markdown files, I use the feeling from MD to HTML compilation too slow (600+ document, To compile more than 25 minutes, if you have incremental compilati
EasyUI self-study 01, easyui self-study 01
JQuery EasyUI is a jQuery-based framework that integrates various user interface plug-ins. The jQuery EasyUI framework provides everything you need to create a web page and helps you easily build a website. I am a good news for people who are not suitable for front-end UIS. Now I will record the first day of easyUI. Download the package at http://www.jeasyui.net/download.
The downloaded content. To use easyUI, import the file first. The specific code
: Alert.jsis to provide the ability to click the X-Close warning box on the basis of the warning box componentUseAlertBy default, if you do not set the Data-target property, the parent element container that contains the X-button element is closed, that is, the outer div element. Just make sure you set the data-dismiss= "alert".ButtonSource file: Button.jsThe button plug-in provides a set of functions that control the various states of a button, such as a disabled state, a loaded state, a normal
FrontierAndroid has introduced material design elements from 5.0, a new design language that gives the entire Android user experience a fresh start, and Google has encapsulated some of the important material in the Android Design support library. Design control, there have been a lot of different material design controls on GitHub before, but now Google has standardized some controls, note that the Android design support The Library and Android support library are different, and the Android Help
1. Create a button //One row can put more than one button ui-btn-inline (horizontal arrangement) 2.checkboxradio (Radio and check box)FieldSet (Create a group sort)The Radio box can only select one (for example, gender selection)3.collapsible (expandable items) to expand Text, listData-collapsed= "false"Data-collapsed-theme= "false"4.Grid Layout censored System a-d (2~5 column)5.listviewDisordered:Orderly: OLFilter effect (search box)6.navbar
the body of the URL loaded display, but there may be no style and JS control, just HTML data2.autoScroll: Set to True to generate scroll bars when content overflows, default to False3.autoShow: Set to True to display the element set to "X-hidden", which is necessary, the default is False4.bbar: Bottom bar, displayed in the body,//code: Bbar:[{text: ' Bottom toolbar Bottomtoolbar '}],5.tbar: Top bar, displayed in the body,//code: Tbar:[{text: ' Top toolbar Toptoolbar '}],}6.buttons: Button colle
Effect:HTML code:"P" style="padding:10px; "> JS Code:
Some of these properties are used in conflict with each other.
The Tools property, with the href attribute, is most useful with the Extractor property, with the Loadingmessage property.
$ (function () {$ ('#p'). Panel ({width: -, Height: $, Title:'title', Iconcls:'Icon-add', //Fit:true,//width self-adapting//content: ' Time is Money '//The settings here will overwrite the original contentCollapsible:true,//whether
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.