jquery Mobile Notes

Source: Internet
Author: User

1, NavBar related

<nav data-role= "NavBar" >
<ul>
<li><a href= "#home" data-icon= "Home" > Homepage </a></li>
<li><a href= "#email" data-rel= "dialog" data-icon= "Grid" > Mail </a></li>
<li><a href= "#phonebook" data-rel= "dialog" data-icon= "search" > Contacts </a></li>
<li><a href= "#calendar" data-rel= "dialog" data-icon= "star" > Calendar </a></li>
</ul>

</nav> data-rel= is to control the NavBar pop-up style above this page by default is to pop a window, remove data-rel= "dialog", is to pop up the entire page 2, about the dynamic generation after the refresh JQM It's strange that he won't ever Refresh the dynamic program's HTML code, you need to manually refresh the code as follows: $ ("#pageone"). Trigger ("create"); After each dynamic build, walk to do this, otherwise HTML effects are not applied, including assignment, etc. 3, not to be continued

jquery Mobile Notes

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.