上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页
摘要: IOS对safari私有的属性很多,虽然很多不为人知但是却很实用。掌握好这些属性对web app和混合app的开发会很有帮助。1.format-detection[telephone=no]是否自动把电话号码转为链接1IOS针对HTML文档内的纯文字,会自动转换为电话号码链接,当点击时,会默认和系统的拨号相关联,但是开发者有时候并不想这样。这时只要在head加上上面这段meta,就不会了。2. viewport 控制应用屏幕属性1viewport是一个针对移动web的meta标签,它的主要属性如下:width:控制 viewport 的大小,可以指定的一个值,如果 600,或者特殊的值,如 d 阅读全文
posted @ 2013-12-13 10:40 sexy_girl 阅读(411) 评论(0) 推荐(0) 编辑
摘要: We have the following lists:touches: A list of information for every finger currently touching the screentargetTouches: Like touches, but is filtered to only the information for finger touches that started out within the same nodechangedTouches: A list of information for every finger involved in the 阅读全文
posted @ 2013-12-12 20:14 sexy_girl 阅读(355) 评论(0) 推荐(0) 编辑
摘要: /** * Author: humanhuang * Date: 13-12-12 */var canvas = document.getElementById("canvas"), stacks = [{ color: "red" }, { color: "blue" }, { color: "green" }, { color: "black" }, { color: "yellow" }, { color: "orange" }];function 阅读全文
posted @ 2013-12-12 19:52 sexy_girl 阅读(266) 评论(0) 推荐(0) 编辑
摘要: chrome override 阅读全文
posted @ 2013-12-12 18:05 sexy_girl 阅读(158) 评论(0) 推荐(0) 编辑
摘要: iOS touch test ( Multi-touch ) 阅读全文
posted @ 2013-12-12 18:04 sexy_girl 阅读(179) 评论(0) 推荐(0) 编辑
摘要: CSS3卡牌翻牌效果 阅读全文
posted @ 2013-12-12 18:01 sexy_girl 阅读(787) 评论(0) 推荐(0) 编辑
摘要: OrientationChange Event Example Calculating orientation... This will only work on Safari on the iPhone or iPod Touch. 阅读全文
posted @ 2013-12-12 16:12 sexy_girl 阅读(195) 评论(0) 推荐(0) 编辑
摘要: BeforeUnload Event Example Try to navigate away from this page. 阅读全文
posted @ 2013-12-12 16:11 sexy_girl 阅读(159) 评论(0) 推荐(0) 编辑
摘要: ContextMenu Event Example Right click or Ctrl+click me to get a custom context menu. Click anywhere else to get the default context menu. Nicholas' site Wrox site Yahoo! 阅读全文
posted @ 2013-12-12 16:10 sexy_girl 阅读(242) 评论(0) 推荐(0) 编辑
摘要: Hash Change Example Click each of these links to change the URL hash. Up Down This example only works in browsers that onhashchange. hashchange事件支持 IE8 FF3.6 chrome operaevent.oldURL, newURL 只有FF6, chrome opera 阅读全文
posted @ 2013-12-12 16:08 sexy_girl 阅读(200) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页