上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 41 下一页
摘要: File fileDirs = new File("路径"); if (!fileDirs.exists()) fileDirs.mkdirs(); File file = new File("路径", "文件名"); if (!file.exists()) { file.createNewFile(); /** * 创建xls文件 ... 阅读全文
posted @ 2015-05-19 15:42 xu_shuyi 阅读(359) 评论(0) 推荐(0)
摘要: /** * 每一天订单确定时间 * @return */ private String getSystemDate() { Calendar c = Calendar.getInstance(); int year = c.get(Calendar.YEAR); in... 阅读全文
posted @ 2015-05-07 14:59 xu_shuyi 阅读(138) 评论(0) 推荐(0)
摘要: /** * 获取每个基金下的资产配置数据信息 */function addFundAsset(){ var type = ""; var arr = obj.split(","); require.config({ paths: { 'echarts':... 阅读全文
posted @ 2015-05-06 16:52 xu_shuyi 阅读(651) 评论(0) 推荐(0)
摘要: Untitled Document 阅读全文
posted @ 2015-05-06 08:53 xu_shuyi 阅读(159) 评论(0) 推荐(0)
摘要: function getInternetExplorerVersion(){ var rv = -1; if (navigator.appName == 'Microsoft Internet Explorer'){ var ua = navigator.userAgent; var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");... 阅读全文
posted @ 2015-05-04 08:33 xu_shuyi 阅读(176) 评论(0) 推荐(0)
摘要: 分享按钮-百度分享:http://share.baidu.com/code/advance <div class="bdsharebuttonbox" data-tag="share_1"> <label class="fenxiang">分享到:</label> <label class="bai 阅读全文
posted @ 2015-05-04 08:27 xu_shuyi 阅读(483) 评论(0) 推荐(0)
摘要: 1、页面部分:请输入归档日期归档状态归档日期 归档状态 2、js部分:function rePositionDateWin(){var elmt=document.getElementById('dateWin');var left=(document.body.clientWidth-elmt.s... 阅读全文
posted @ 2015-05-01 23:56 xu_shuyi 阅读(287) 评论(0) 推荐(0)
摘要: 收集一些IE滤镜,留作之后开发用.透明度#myElement { opacity: .4; /* other browsers */ filter: progid: DXImageTransform.Microsoft.Alpha( opacity=40 ); /* IE6, IE7, ... 阅读全文
posted @ 2015-04-19 21:20 xu_shuyi 阅读(152) 评论(0) 推荐(0)
摘要: $(function(){$("*[name=resetButton]").bind("click",formReset);});function formReset(){var fm = document.forms[0];fm.reset();}$(document).ready(functio... 阅读全文
posted @ 2015-04-19 19:36 xu_shuyi 阅读(133) 评论(0) 推荐(0)
摘要: 首先可以给JS的数组对象定义一个函数,用于查找指定的元素在数组中的位置,即索引,代码为:Array.prototype.indexOf=function(val){for(vari=0;i-1){this.splice(index,1);}};这样就构造了这样一个函数,比如我有有一个数组:varem... 阅读全文
posted @ 2015-04-16 09:18 xu_shuyi 阅读(188) 评论(0) 推荐(0)
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 41 下一页