吹友吧-智能社区

 找回密码
 加入我们

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
森乐Senwater-专业净水专家,整机美国原装壁挂式新风,洁净健康帮手有消毒功能的原装空气净化器(FDA认证技术)
查看: 1218|回复: 0

[教程] WAP 网页中的文本自动换行技巧

[复制链接]
发表于 2011-2-14 16:19 | 显示全部楼层 |阅读模式
今天在precentral看到有关WAP 网页中的文本自动换行技巧
5 q  ?" g; A- F8 ~1 l大致意思:在wap网页中,press+hold网页中的任一连接(link),则本网页将自动调整为webos的最佳浏览方式。只是每页都得这操作。
- e1 e3 m/ V, f' O3 I* o$ T- V9 W/ ]$ |% y0 `. I
原文:3 y( ?. h+ N6 L# w6 h
" A, r- q+ ^) M* q- Y
Auto-wrap text in some WAP-based browser sites
" M% i% x$ Q; c5 gAdam Marks | Tue, 08 Feb 2011 10:33 | view comments »! q2 s: k, v" o1 Q; _$ J! O. x$ \

; v5 J* O8 J- Y- j  E% U& }Before mobile phones had web browsers that could display websites in a similar fashion to a desktop computer, many mobile websites were built for WAP (Wireless Application Protocol) browsers that were mainly text-based sites with minimal amounts of graphics. Some of these sites are still around and typically do not look very good when viewing on webOS's webkit browser. However, while it's not clear if this is a feature or a bug, there is a way to cause some of these sites to wrap their text based on the resolution of your device. Using http://m.dailyrecord.com as an example, you can see that when the page first loads, the text is really small and hard to read without zooming in. However, if you press and hold on any link (this is important, you must find a web link), the page will re-wrap to read better. You may still need to do a quick double-tap to zoom in, but this should make reading on these sites a more enjoyable experience. Unfortunately, you will have to redo this press-and-hold on a link on every page, and this is not guaranteed to work on every WAP site there is, but at least it's something.: n" s% i2 Q5 f9 d

  r$ ~6 L1 y. Q& |http://www.precentral.net/auto-w ... based-browser-sites
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

森乐Senwater-净水专家,整机美国原装
全屋净水方案技术平台: 提供全套民用净水方案咨询

QQ|小黑屋|手机版|Archiver|吹友吧 ( 京ICP备05078561号 )

GMT+8, 2021-9-25 00:09 , Processed in 0.206187 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表