Make Website and WebApp Compatible with iPhone and Blackberry Hãy Website webapp và tương thích với iPhone và Blackberry
Most websites and web pages will be compatible and work fine on iPhone and Blackberry. Hầu hết các trang web và các trang web sẽ được tương thích và làm việc tốt trên iPhone và Blackberry. 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. Tuy nhiên, nó vẫn có thể để làm cho các trang web hỗ trợ nhiều hơn, thân thiện và sẵn sàng cho iPhone của Apple cho biết thêm thông tin về việc làm thế nào để iPhone trên trang web sẽ được hiển thị trên các trình duyệt của 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. Bên cạnh, đối với các trang web mà cố gắng thi đua các chức năng của iPhone được xây dựng trong các ứng dụng như sử dụng Canvas webapps rằng, AJAX tính năng và giới hạn kích thước của trang 320 × 480px (hoặc 480 × 320px), tốt nhất để đảm bảo iPhone Blackberry và tính tương thích để đảm bảo rằng trang web được rendered và định dạng một cách chính xác và tránh các vấn đề như các trang web hoặc ứng dụng không đúng cách khi xoay rộng và thu nhỏ cửa sổ trình duyệt 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. Một trong những cách tốt nhất để chỉ với một dòng thay đổi trên trang web mã hóa để làm cho trang web và trang web app hỗ trợ iPhone và Blackberry là điện thoại cho các thiết bị PDA của viewport tổng kích cỡ của trang web. To do so, simply add the following line to the HTML HEAD section of the web page: Để làm được như vậy, chỉ cần thêm dòng sau vào phần HTML HEAD của trang web:
<meta name=”viewport” content=”width=320″ /> <meta name="viewport" content="width=320" />
viewport is visual formatting model for visual media in viewport là định dạng hình ảnh mô hình cho hình ảnh trong phương tiện truyền thông 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). đặc điểm kỹ thuật, mà đó là một cửa sổ hoặc khu vực khác xem trên màn hình mà qua đó người sử dụng một tài liệu tham khảo (có nghĩa là một phần của màn hình mà bạn đang thực sự nhìn thấy). User agents may change the document's layout when the viewport is resized. Người đại lý có thể thay đổi trong tài liệu của bố trí khi viewport là thay đổi kích cỡ. 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. Các thông số khác áp dụng cho các viewport bao gồm quy mô ban đầu, người sử dụng mở rộng, quy mô và tối thiểu, tối đa quy mô, nơi bạn có thể thử để làm cho phù hợp với trang web của bạn vào iPhone và BlackBerry xem khu vực. The example of usage: Những ví dụ về cách sử dụng:
<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: Bạn có thể kết hợp các thiết lập u muốn sử dụng thành một META mã HTML như:
<meta name=”viewport” content=”width=320,user-scalable=false” /> <meta name="viewport" content="width=320,user-scalable=false" />
IMPORTANT : The page is machine translated and provided "as is" without warranty. Lưu ý: Các trang web là máy tính dịch và cung cấp "như là" mà không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể là khó hiểu. Please refer to Xin vui lòng tham khảo original English article Tiếng Anh bản gốc bài viết whenever possible. bất cứ khi nào có thể.
Related Articles Bài viết liên quan
- Download RealPlayer SP To Convert and Transfer Web Video To BlackBerry, iPhone, iPhone And Game Systems Để tải về RealPlayer SP Chuyển đổi và chuyển giao web Mã số Để BlackBerry, iPhone, iPhone và hệ thống game
- New Ultimate Ears SUPER.Fi 4vi iPhone-Compatible Earphones Featuring Voice Integration Ultimate mới tai SUPER.Fi 4vi iPhone-Tương Earphones Với thoại tích hợp
- Loopt Now Available For BlackBerry with iPhone 3G Version Coming Soon Bây giờ Tiên Loopt Để BlackBerry với phiên bản iPhone 3G Coming Soon
- Compare Website Traffic and Website Statistics Easily Alexaholic So sánh Website Website giao thông và thống kê Dễ dàng Alexaholic
- Ultimate Ears Launches TripleFi 10vi Studio-Quality Earphones For iPhone And BlackBerry Ultimate ears TripleFi Launches 10vi Studio-Chất lượng Earphones Dành cho iPhone và BlackBerry
- Website Tonight on Godaddy Hosting Reviews Tonight trên trang web của Godaddy Hosting Xem lại
- SEO Friendly Rewrite Method to Move Website URL From Subdirectory to Root Parent Folder Thân thiện SEO Rewrite Phương pháp Chuyển URL của trang web Từ subdirectory vào thư mục gốc của Phụ Huynh
- Free reQall For BlackBerry Users To Download Miễn phí reQall Đối với người dùng BlackBerry Để Tải về
- Test and Check Website Load Time and Speed with OctaGate SiteTimer Kiểm tra và Kiểm tra Website Tải Thời gian và Speed với OctaGate SiteTimer
- BlackBerry 7130e Reviews BlackBerry 7130e Xem lại










































June 23rd, 2009 22:32 Tháng sáu 23, 2009 22:32
I read this completely and don't understand it at all. Tôi đọc này hoàn toàn và không hiểu nó ở tất cả mọi người. I don't understand it because you are a complete idiot. Tôi không hiểu nó, vì bạn là một hoàn thành idiot. Please go back and look at your grammar. Xin vui lòng quay lại và xem xét ngữ pháp của bạn.
This is one sentence? Đây là một trong những câu?
May 19th, 2009 19:42 Tháng năm 19, 2009 19:42
You made some good points there. Khi bạn thực hiện tốt một số điểm đó. I did a search on the topic and found most people will agree with your blog. Tôi đã làm một tìm kiếm trên chủ đề và được tìm thấy hầu hết mọi người sẽ đồng ý với blog của bạn.
March 25th, 2009 13:34 Tháng ba 25, 2009 13:34
http://www.engageinteractive.co.uk/blog/2008/06/19/tutorial-building-a-website-for-the-iphone/#detection # http://www.engageinteractive.co.uk/blog/2008/06/19/tutorial-building-a-website-for-the-iphone/ phát hiện
this is the ultimate guide for building an iphone compatible website đây sẽ là cơ hội cuối cùng dành cho xây dựng một trang web tương thích iphone
January 6th, 2009 21:12 6 tháng một, 2009 21:12
Nice post, i've been looking for articles about how to design and develop websites compatible with iphone Nice đăng bài, tôi đã tìm bài viết về việc làm thế nào để thiết kế và phát triển các trang web tương thích với iphone
December 31st, 2008 11:56 31 tháng mười hai, 2008 11:56
It looks very simple, thank you Nó trông rất đơn giản, thank you