[Go] mobile development experience

Source: Internet
Author: User

Transferred from: http://www.cnblogs.com/couxiaozi1983/p/3736229.html

The difference between Zepto and jquery

Support, Zepto supports touch events, and jquery has no touch events, only touch events in jquery mobile

Zepto does not support IE browser

Second, the request Jquery.min.js time, log shows the browser also requested Jquery.min.map, the request caused the service side error

@ sourcemappingurl=jquery.min.map

Just remove the sentence and let it go.

Third, in the mobile phone's Safari browser prohibit the default click Digital Call function

<meta name= "format-detection" content= "Telephone=no"/> function meta to control

1. The default value on the iphone is (the phone number is displayed as a dial-up hyperlink):

<meta name= "format-detection" content= "Telephone=yes"/>

2, can be telephone=no, the mobile phone number is not displayed as a dial-up link

<meta name= "format-detection" content= "Telephone=no"/>

3. In the iphone's browser, the page will be displayed in its original size and not allowed to zoom.

<meta name= "viewport" content= "Width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, User-scalable=no ">

The height of the width-viewport width height-viewport

Initial-scale-Initial zoom ratio

Minimum-scale-Minimum scale to allow the user to zoom

Maximum-scale-Maximum scale to which the user is allowed to zoom

User-scalable-whether the user can manually scale

4. The private attributes of the iOS device to the META definition: (can be added to the home screen)
<meta name= "apple-mobile-web-app-capable" content= "yes"/>

• Web App support is enabled on the Web site.
<meta name= "Apple-mobile-web-app-status-bar-style" content= "Black"/>

• The color of the status bar (top bar of the screen) in the web App app;
• Default (white), can be set to Black (dark) and black-translucent (gray translucent).

• If the value "Black-translucent" will occupy the page px position, floating above the page (will cover the page 20px height –iphone4 and itouch4 Retina screen is 40px).

Http://www.cnblogs.com/yuzhongwusan/archive/2011/11/29/2267568.html

[Go] mobile development experience

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.