Content of this article
Environment
Demo interface imitating QQ style
This article mainly demonstrates the UI, how to imitate the QQ-style interface.
Download Demo Environment
Windows R2 64-bit
Eclipse ADT v22.6.2,android 4.4.3
SAMSUNG gt-i9008l,android OS 2.2.2
Demonstrate a UI that
the part libraryHow the JQuery UI uses the part libraryJQuery UI Reference ManualJQuery UI API DocumentationAPI Category-EffectsAPI Category-Special effects coreAPI Categories-InteractionAPI Category-Method overloadingAPI Categories-MethodsAPI Category-SelectorsAPI Categories-TopicsAPI Category-
All event callback functions have two parameters: event and UI, browser-owned event object, and encapsulated UI objectUi.helper-A JQuery object that represents the sortable element, usually a cloned object of the current elementUi.position-Represents the coordinate value object of the mouse relative to the current object {Top,left}Ui.offset-Represents the coordin
the mouse style of the control. The mouse style of the file control in firefox takes effect only on the Browse button. If you set the mouse style, the style on the left and right of the control is inconsistent.
3. The Row Height of the control text display layer is the same
can only be set to 1DP.padding: IntervalThis is not much to say, XML layout files are often used.The specific code is as follows:Main.xml:Android:layout_width= "Wrap_content"android:layout_height= "Wrap_content"android:text= "Testshapebutton"android:background= "@drawable/button_selector"/>Button_selector.xml:Xmlns:android= "Http://schemas.android.com/apk/res/android" >Android:startcolor= "#ff8c00"Android:endcolor= "#FFFFFF"Android:type= "Radial"Android:gradientradius= "/>"Android:width= "2DP"A
for each item to keep its style consistent with the selected theme.
Listing 2. Create a simple sortable list using the JQuery UI sortable plugin
If you need to save a list item location, you may have to save the details to a cookie or database so that the page is rendered correctly to support subsequent page views. If you are using a database, you c
Jquery UI Dialog is a very good UI plug-in. Next I will introduce you to the beautiful effects prompted on the current page when jquery UI Dialog is used to achieve no jump, for more information, see.
JQuery
The system default scroll bar style, really has seen enough disgusting. Imagine how awkward it would be to have a default scroll bar style in a system on a very distinctive and creative Web page. In order to define the scroll bar in the Web page method, I really have been looking for a long time, on the current search results, found two more good JQuery plugin: J
You waste
Note:
1. You do not need to add the onclick Method to the button to add all functions to $ (function.
2. Three files need to be introduced, including two JS files and one CSS file.
Jquery UI dialog usage Overview
OverviewA floating window contains the title and content. You can move, resize, and close the icon '× '.If the content length exceeds
[Material Design] teaches you how to create a Material style, Animation button (MaterialButton), materialdesign
Original works, reproduced please indicate the source: http://blog.csdn.net/qiujuer/article/details/39831451
Some time ago, Android L was released. I believe that all the friends I know at the press conference are"Material Design"Are you surprised! At least I am.I am sorry to be amazed because it
JQuery Easy UI Finishing notes directoryPS: Recently interested in easy UI, intends to learn the system, the basic part of the front is very simple, are referred to the API to write, examples are casually lifted, did not enumerate the actual application of the project. I intend to put more time into the knowledge behind the basic part, combine with the actual in
, which is only 3.9KB, And the search Extension function is only 14KB in time, which is much more lightweight than jQuery UI.UI Tools
UI Tools consists of four functional modules: Tabs, Tooltip, Overlay, and Scrollable. The Demo of each functional module is as follows:Tabs (Tab)
Minimal setup for tabs
Naming the tabs
4 different skins with CSS
Using mouseover to switch tabs
Making wizards with the
, and more. Adopt HTML5 + CSS3 is written to support commonly used browsers such asChrome,firefox7+,Safari 5+ , and IE + + and so on. the rich client framework Jwwui based on jquery
Jwwui is a set of HTML components written based on jQuery . Easy to use , Powerful features , style of freedom is very large , custom styles are supported for each componen
jQueryUI, Tab UILearning Essentials:1. Using tabs2. Modify the tabs styleThe properties of the 3.tabs () methodEvent of the 4.tabs () methodUse on in 5.tabstab is a UI that provides users the ability to switch between different content on the same page. This provides a very good user experience, especially on pages with a compact page layout.A Using tabsUsing tabs is simple, but you need to follow the specified specification.Tabs () method, which is t
Set the button status, default status, move the mouse over the status, click the status, use three pictures to indicate different statuses
ui->close->setStyleSheet("QPushButton{border-image: url(:/image/close.png);}" "QPushButton:hover{border-image: url(:/image/close2.png);}" "QPushButton:pressed{border-image: url(:/image/close2.png);}");
I am not very
DOCTYPE HTML>HTMLxmlns= "http://www.w3.org/1999/xhtml">Head>title>jquery Popup Layer Effecttitle>Metacontent= "Webpage effect, special effect code, JQUERY,CSS effect, JS code, advertising slide, picture switch"name= "keywords" />Metacontent= "jquery popup effect, there is a close button, the code is easy to understand,
DOCTYPE HTML>HTMLxmlns= "http://www.w3.org/1999/xhtml">Head>title>jquery Popup Layer Effecttitle>Metacontent= "Webpage effect, special effect code, JQUERY,CSS effect, JS code, advertising slide, picture switch"name= "keywords" />Metacontent= "jquery popup effect, there is a close button, the code is easy to understand,
common UI components for Web development, including menus, dialog boxes, layouts, curtains, tables, forms, and so on.
Online Demo: http://www.jeasyui.com/
8.jQuery UI Framework Liger UI
Ligerui is a series of control groups developed based on jquery, including forms,
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.