摘要: //thisfunctionisneedtoworkaround//abuginIErelatedtoelementattributesfunctionhasClass(obj){varresult=false;if(obj.getAttributeNode("class")!=null){result=obj.getAttributeNode("class").value;}returnresult;}functionstripe(id){//theflagwe'llusetokeeptrackof//whetherthecurrentrowi 阅读全文
posted @ 2011-10-17 20:02 ChaunceyHao 阅读(843) 评论(1) 推荐(0)
摘要: WEB APP的跨平台特性确实很吸引人,但是大家普遍都认为WEB APP在用户体验上,目前软硬件环境下,还是不如Native APP。 具体是那些方面不如呢?下面是我的总结: 一、进程切换的体验差异 不考虑机器性能和网速,WEB APP 最大的不足在于进程切换。 比如:Native APP 中,我能在Mail里面直接拖入图片作为附件,GMail就只能attach a file。 又比如: Gmail WebAPP for iPad 的手感不如Mail,虽然功能很好,但是手指滑动时,感觉非常滞涩,远远不如Mail的滑动体验。 WEB APP的滑动效果必须通过 CSS3 和 JS 写出来。相... 阅读全文
posted @ 2011-10-17 08:14 ChaunceyHao 阅读(487) 评论(0) 推荐(0)
摘要: 问题: centos 5.5 上用 yum 安装了 tomcat, 启动正常,但是访问 8080 端口的网页,是空白的。 查看linux版本 [root@inside ~]# lsb_release -a LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: CentOS Description: CentOS release 5.5 (Final) ... 阅读全文
posted @ 2011-10-17 08:11 ChaunceyHao 阅读(616) 评论(0) 推荐(0)