摘要: 简单说明 1.两种方式,一种使用tomcat的websocket实现,一种使用spring的websocket 2.tomcat的方式需要tomcat 7.x,JEE7的支持。 3.spring与websocket整合需要spring 4.x,并且使用了socketjs,对不支持websocket的 阅读全文
posted @ 2017-11-27 13:42 锐洋智能 阅读(95857) 评论(3) 推荐(8) 编辑
摘要: // <![CDATA[ (function(){ //颜色动画插件 收录 前端网 halcheung 大侠的笔记。网址 http://www.w3cfuns.com/notes/17953/6ceda0bfa4a98d2d1a8c03fb638bae4e.html // store the jq 阅读全文
posted @ 2017-11-27 07:42 锐洋智能 阅读(6833) 评论(0) 推荐(0) 编辑
摘要: jquery 图片base64 阅读全文
posted @ 2017-11-27 07:38 锐洋智能 阅读(7408) 评论(0) 推荐(0) 编辑
摘要: //**dataURL to blob** function dataURLtoBlob(dataurl) { var arr = dataurl.split(','), mime = arr[0].match(/:(.*?);/)[1], bstr = atob(arr[1]), n = bstr.length, u8arr = new Uint... 阅读全文
posted @ 2017-11-27 07:35 锐洋智能 阅读(430) 评论(0) 推荐(0) 编辑