开发中遇到的问题


&useUnicode=true&characterEncoding=utf8

  • H5表单验证插件,http://www.zhangxinxu.com/wordpress/2012/12/jquery-html5validate-html5-form-validate-plugin/ 

  • JS分页插件,http://www.zhangxinxu.com/jq/pagination_zh/ 

  • 在img标签里面只设置宽,不设置高,大图会等比缩小为小图片

  • servlet中接受中文乱码,最好的办法在tomcat的配置文件中找到 如下部分,增加URIEncoding="UTF-8" (默认为ISO8859-1)

  • <Connector port="8080"  protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" />

            当然也可以 new String(request.getParameter("info").getBytes("iso-8859-1"),"utf-8");

  • JSP页面上面一定要写  <!DOCTYPE html> 

  • JS滑动插件 http://www.swiper.com.cn/

  • JS粒子特效 https://github.com/VincentGarreau/particles.js

  • CSS 动画库 https://github.com/daneden/animate.css

  • CSS 按钮 http://www.bootcss.com/p/buttons/

  • span inline-block 时发生错位解决办法

  • span{vertical-align: top;}
  • jquery的ajax和getJson跨域获取json数据http://www.cnblogs.com/yqskj/archive/2013/06/12/3133247.html

  • 全屏图片查看插件 https://github.com/dimsemenov/PhotoSwipe


你可能感兴趣的:(开发中遇到的问题)