Make Website and WebApp Compatible with iPhone and Blackberry使網站和Web應用兼容iphone和黑莓

Most websites and web pages will be compatible and work fine on iPhone and Blackberry.大多數網站和網頁,將兼容和工作的罰款iphone和黑莓。 However, it’s still possible to make the web sites more supportive, ready and friendly to Apple iPhone by giving more information to iPhone about how the webpage should be displayed on the iPhone browser.不過,它仍有可能使網站更多的支持,準備和友好的蘋果iphone提供更多信息,以iphone如何在網頁上應顯示在iphone的瀏覽器。 Beside, for web sites that try to emulate the functionality of the built-in iPhone applications such as webapps that use Canvas, AJAX functionality and limit the size of the page to 320×480px (or 480×320px), it’s best to ensure iPhone and Blackberry compatibility to ensure that the page is rendered and formatted correctly and avoid problem such as web page or application not scaling properly when rotate and Safari browser zooming out.旁邊,為網站嘗試學習的功能,內置在iphone應用,如webapps使用帆布, Ajax的功能和限制的大小網頁320 × 480px (或480 × 320px ) ,最好的確保iphone和黑莓的兼容性,以確保該網頁是勞務費和正確的格式和避免的問題,如網頁或應用程序不結垢適當時,旋轉和Safari瀏覽器放大。

One of the best way with just one line change on website coding to make website and web app support iPhone and Blackberry is by telling the PDA phone of the viewport size of the overall page.其中一個最好的方式只有一個線變化對網站的編碼,使網站和Web應用程序的支持iphone和黑莓是告訴PDA手機的視大小的整體頁。 To do so, simply add the following line to the HTML HEAD section of the web page:這樣做,只需添加以下行到HTML的HEAD部分的網頁:

<meta name=”viewport” content=”width=320″ /> <meta name="viewport" content="width=320" />

viewport is visual formatting model for visual media in視是視覺格式化模型在視覺媒體 CSS 2.1的CSS 2.1 specification, where it is a window or other viewing area on the screen through which users consult a document (mean part of the screen that you’re actually seeing).規格,它是一個窗口,或其他的可視面積屏幕上通過用戶諮詢文件(指屏幕的一部分,您實際看到) 。 User agents may change the document’s layout when the viewport is resized.用戶代理可能會改變文件的佈局時,視大小。 Other parameters applicable for viewport include initial-scale, user-scalable, minimum-scale and, maximum-scale where you can try to make your website fit into iPhone and BlackBerry view area.其他參數適用於視,包括初步規模,用戶可伸縮,最小規模和最大規模的情況下,您可以嘗試,使您的網站融入iphone和黑莓的看法。 The example of usage:例子用法:

<meta name=”viewport” content=”initial-scale=1.0″ /> <meta name="viewport" content="initial-scale=1.0" />
<meta name=”viewport” content=”user-scalable=false” /> <meta name="viewport" content="user-scalable=false" />

You can mix the setting u want to use into a single META HTML code such as:您可以組合設置u要使用成一個單一的Meta HTML代碼,例如:

<meta name=”viewport” content=”width=320,user-scalable=false” /> <meta name="viewport" content="width=320,user-scalable=false" />

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要說明 :這是一個機器翻譯網頁是“按原樣”提供的擔保。 Machine translation may be difficult to understand.機器翻譯可能很難理解。 Please refer to請參閱 original English article原來的英語文章 whenever possible.只要有可能。

Share and contribute or get technical support and help at分享和貢獻,或取得技術的支持和幫助,在 My Digital Life Forums 我的數字生活論壇 .



Leave a Reply離開的答复

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 您可以使用這些標籤:的<a href="" title=""> <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> <刪除日期時間= “ ” >的<em>的<i> <q cite=""> <strike>的<strong>

Subscribe without commenting訂閱無評論


Custom Search

New Articles新的條款,

Incoming Search Terms for the Article傳入的搜索條件文章

website for iphone 網站iphone - - create iphone website 創建iphone網站 - - website iphone 網站iphone - - make iphone website 作出iphone網站 - - iphone compatible website iphone兼容的網站 - - iphone website iphone網站 - - how to make an iphone website 如何使一iphone網站 - - blackberry websites 黑莓網站 - - build iphone website 建立iphone網站 - - make website for iphone 使網站為iphone - - websites for blackberry 網站黑莓 - - how to make iphone website 如何使iphone網站 - - create website for iphone 建立網站,供iphone - - blackberry css 黑莓的CSS - - create iphone webpage 創建iphone網頁 - - create an iphone website 創造一個iphone網站 - - creating website for iphone 建立網站,供iphone - - build website for iphone 建立網站,供iphone - - blackberry compatible websites 黑莓兼容的網站 - - making iphone website 決策iphone網站 - - creating iphone website 創造iphone網站 - - creating an iphone website 創造一個iphone網站 - - create iphone web page 創建iphone網頁 - - Creating iPhone websites 創造iphone網站 - - create a website for iphone 創建一個網站,供iphone - - iphone web page width iphone網頁寬度 - - website iphone compatible 網站iphone兼容 - - create iPhone websites 創建iphone網站 - - make iphone web page 作出iphone網頁 - - how to make iPhone websites 如何使iphone網站 - - how to build an iphone website 如何建立一個網站iphone - - how to make website for iphone 如何使網站為iphone - - how to make a website for iphone 如何使一個網站為iphone - - making a website for iphone 使網站為iphone - - make web page for iphone 使網頁iphone - - create iphone webapp 創建Web應用iphone - - make a website for iPhone 使網站為iphone - - how to build a website for iphone 如何建立一個網站,供iphone - - how to create iphone website 如何創建iphone網站 - - how to make a iphone website 如何使iphone網站 - - making website for iphone 使網站為iphone - - creating a website for iphone 網站的建立為iphone - - create website iphone 創建網站iphone - - iphone create website iphone建立網站 - - create iphone compatible website 創建iphone兼容的網站 - - create iphone site 創建iphone網站 - - make website iphone compatible 使網站兼容iphone - - making iphone websites 決策iphone網站 - - how to make iphone web app 如何使iphone的Web應用程序 - - make iphone websites 作出iphone網站 - -