Jquery mobile (multi-view page, view switching animation, dialog box, page topic)-7.3

Source: Internet
Author: User
1. multi-view page <section data-role = "page" id = "firstview" data-Title = "first view">

2. view switching animation <a href = "# secondview" data-rel = "dialog" data-transition = "pop"> pop slide slideup slidedown fade flip3.dialog dialog box <a href = "# secondview "data-rel =" dialog "data-transition =" pop ">

4. Page topic <section data-role = "page" id = "firstview" data-Title = "first view" data-theme = "A">

<! Doctype HTML>
<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>
<Section data-role = "page" id = "firstview" data-Title = "first view" data-theme = "A">
<Header data-role = "Header" data-theme = "B"> <Article data-role = "content"> <a href = "# secondview" data-rel = "dialog" data-transition = "pop"> switch to the second view </> </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>

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.