html5開發手機打電話發簡訊功能

來源:互聯網
上載者:User

標籤:手機   utf-8   init   color   header   open   name   自動   -o   

原文:http://www.open-open.com/code/view/1449843459332

 

在很多的手機網站上,有打電話和發簡訊的功能,對於這些功能是如何?的呢。其實不難,今天我們就用html5來實現他們。簡單的讓你大開眼界。 
HTML5 很容易寫,但建立網頁時,您經常需要重複做同樣的任務,如建立表單。在這...有 HTML5 啟動模板、空白圖片、 打電話和發簡訊、自動完成等等,協助你提高開發效率的同時,還帶來了更炫的功能。好了,我們今天就來做一做看看效果吧!! 
看代碼:

 

<!DOCTYPE html>      <html>      <head>      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">      <title>偽專家html5開發法簡訊功能</title>      <meta name="viewport" content="width=device-width, initial-scale=1.0">      <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css">      <script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>      <script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>      </head>      <body>      <div data-role="page">        <div data-role="header" data-position="fixed">          <h1>偽專家html5開發打電話、發簡訊功能</h1>        </div>              <div data-role="content">                   <p><a href="sms:10086?body=簡訊內容" data-role="button" data-theme="a">測試發簡訊</a></p>                  <p><a href="tel:10086" data-role="button" data-theme="a">測試打電話</a></p>        </div>              <div data-role="footer" data-position="fixed">          <h1>偽專家html5開發打電話、發簡訊功能</h1>        </div>      </div>      </body>      </html>

 

html5開發手機打電話發簡訊功能

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.