Home | Mirror | Search

第 9 章 HTML

HTML XHTML HTML5

目錄

1. iPhone WebApp
1.1. 撥打電話
1.2. iphone 表徵圖設置
	

	
	

1. iPhone WebApp

移動設備開發

1.1. 撥打電話

禁用電話號碼識別

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

聲明電話連結

			
<a href="tel:13113668890">撥打電話</a>
			
			

1.2. iphone 表徵圖設置

			
<!DOCTYPE html>
<html manifest="iphone.manifest">
<head>
    <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <link rel="apple-touch-icon" href="apple-touch-icon.png"/>
    <link rel="apple-touch-startup-image" href="apple-touch-startup-image.png" />
    <link rel="stylesheet" href="iphone.css" type="text/css" media="screen, mobile" title="main" charset="utf-8">
    <title>offline neo</title>
</head>
<body>
    ...
    ...
    ...
  <script type="text/javascript" src="iphone.js"></script>
</body>
</html>
			
			
comments powered by Disqus