`
bsr1983
  • 浏览: 1128709 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表

常用js

//浮点数相加 function accAdd(arg1,arg2){     var r1,r2,m;     try{r1=arg1.toString().split(".")[1].length}catch(e){r1=0}     try{r2=arg2.toString().split(".")[1].length}catch(e){r2=0}     m=Math.pow(10,Math.max(r1,r2))     return (arg1*m+arg2*m)/m } //两个数相除 function accDiv(arg ...
myeclipse版本为MyEclipse 8.x Stable (8.0 GA) 1、取消myeclipse的tooltip     windows->preferences->Java->Editor->Hovers 去掉Combined Hover前面的√ 2、显示启动画面    修改安装目录下(默认为MyEclipse 8.x Latest目录下)的myeclipse.ini,增加下面的语句  -Dosgi.splashLocation=../Common/plugins/com.genuitec.myeclipse.product8_8.0.0.me2 ...

js树使用笔记

js树名称:dhtmlxTree 网址:http://www.dhtmlx.com/,除了js树还有很多不错的js UI组件 所有组件下载地址:http://www.dhtmlx.com/docs/download/dhtmlxSuite.zip chm帮助文档下载地址:http://dhtmlx.com/docs/download/dhtmlx_chm.zip   另记录一下从一个子frame调用另一个子frame的js方法的方式为:parent.frames["调用方法所在frame的name"].方法名  
前几天在tomcat启动时,遇到了“startup failed due to previous errors”的问题,在tomcat中只显示该错误信息,并未指明是哪里引起的错误,找了半天也没有找到问题所在,因此试用了一下jetty7,配置好后启动,终于从其异常信息中找到问题所在:spring配置文件中quartz定时任务的表达式格式写错了,导致异常。         言归正传,记录一下jetty7的试用过程以备后用。         jetty7下载地址:http://dist.codehaus.org/jetty/jetty-hightide-7.0.1/jetty-hightide-7 ...
Global site tag (gtag.js) - Google Analytics