HTML5 Peaky framework jquery mobile (button, icon, grouping function button, With inline style button)-7.4

Source: Internet
Author: User
1. Button data-role = "button"

2. Icon data-Icon = "arrow-l"

3. Icon position data-iconpos = "right" Left right top bottom

4. Customize the icon UI-icon-myicon-name

5. Button data-inline = "true" with an inline Style"

6. Group function button

<Div data-role = "controlgroup">
<A href = "#" data-role = "button" data-theme = "A"> return </a>
<A href = "#" data-role = "button" data-theme = "B"> homepage </a>
<A href = "#" data-role = "button" data-theme = "C"> forward </a>

</Div>

HTML5

<! Doctype HTML>
<HTML>
<Head>
<Meta name = "viewport" content = "width = device-width, initial-scale = 1"/>
<Meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8">
<Title> phonegap </title>


<LINK rel = "stylesheet" href = "jquery.mobile-1.3.1.css">

<SCRIPT type = "text/JavaScript" charset = "UTF-8" src = "jquery-1.9.0.min.js"> </SCRIPT>
<SCRIPT type = "text/JavaScript" charset = "UTF-8" src = "jquery. mobile-1.3.1.js"> </SCRIPT>
</Head>
<Body>
<Section data-role = "page" id = "firstview" data-Title = "first view" data-theme = "A">
<Header data-role = "Header" data-theme = "B">

<Article data-role = "content">

<Div data-role = "controlgroup">
<A href = "#" data-role = "button" data-theme = "A"> return </a>
<A href = "#" data-role = "button" data-theme = "B"> homepage </a>
<A href = "#" data-role = "button" data-theme = "C"> forward </a>
</Div>
<A href = "# secondview" data-rel = "dialog" data-transition = "pop" data-role = "button"> switch to the second view </a>
<Input type = "button" name = "button type input"/>
<Input type = "Submit" name = "Submit type input"/>
<Input type = "reset" name = "Reset type input"/>
<Input type = "image" name = "image type input"/>
<A href = "#" data-role = "button" data-Icon = "arrow-L" data-iconpos = "right"> left arrow-L </a>
<A href = "#" data-role = "button" data-Icon = "arrow-R" data-inline = "true"> right arrow-r </a>
<A href = "#" data-role = "button" data-Icon = "arrow-U"> arrow-u </a>
<A href = "#" data-role = "button" data-Icon = "arrow-d"> arrow-D </a>
<A href = "#" data-role = "button" data-Icon = "delete"> icon arrow-L </a>
<A href = "#" data-role = "button" data-Icon = "plus"> icon plus </a>
<A href = "#" data-role = "button" data-Icon = "minus"> icon minus </a>
<A href = "#" data-role = "button" data-Icon = "check"> icon check </a>
<A href = "#" data-role = "button" data-Icon = "gear"> icon check </a>
<A href = "#" data-role = "button" data-Icon = "refresh"> icon refresh </a>
<A href = "#" data-role = "button" data-Icon = "Forward"> icon forward </a>
<A href = "#" data-role = "button" data-Icon = "back"> icon back </a>
<A href = "#" data-role = "button" data-Icon = "Grid"> icon grid </a>
<A href = "#" data-role = "button" data-Icon = "star"> icon Star </a>
<A href = "#" data-role = "button" data-Icon = "alert"> icon alert </a>
<A href = "#" data-role = "button" data-Icon = "info"> icon info </a>
<A href = "#" data-role = "button" data-Icon = "home"> icon home </a>
<A href = "#" data-role = "button" data-Icon = "Search"> icon search </a>
</Article>
<Footer data-role = "footer" data-theme = "C"> </Section>

<Section data-role = "page" id = "secondview" data-Title = "second view">
<Header data-role = "Header"> second view <Article data-role = "content"> <a href = "# firstview" data-transition = "flip"> switch to the first view </a> </Article>
<Footer data-role = "footer"> footer </footer>
</Section>
</Body>
</Html>

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.