
软件开发
crazycode_1985
你六毛,我六毛,咱俩就一块二了.
展开
-
JQuery - chexbox click event
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">checkbox数学语文英语$("input[name='km']").click(function(e){//当name='km'的复选框被点击时 var str =原创 2012-01-06 08:30:52 · 664 阅读 · 0 评论 -
DOJO-dijit.Tree(异步树的一种实现方式)
dojo.require("dijit.Tree");dojo.require("dojo.data.ItemFileWriteStore");dojo.require("dijit.tree.ForestStoreModel");dojo.require("dojox.data.JsonRestStore");//TreeStorevar store = new原创 2012-04-20 16:40:24 · 2170 阅读 · 0 评论 -
DOJO-dojox.layout.TableContainer(实现表单布局)
dojo.require("dijit.form.Form"); dojo.require("dojox.layout.TableContainer"); dojo.require("dijit.form.Button); var tp = dojox.layout.TableContainer(原创 2012-04-20 16:31:44 · 2377 阅读 · 0 评论 -
获取J2ee工程在应用服务器(如tomcat)下的物理路径
ActionContext ac = ActionContext.getContext(); ServletContext sc = (ServletContext) ac.get(ServletActionContext.SERVLET_CONTEXT); String path = sc.getRealPath("/");原创 2013-01-24 17:55:06 · 741 阅读 · 0 评论 -
POI 设置Excel样式
POI中可能会用到一些需要设置EXCEL单元格格式的操作小结:先获取工作薄对象:HSSFWorkbook wb = new HSSFWorkbook();HSSFSheet sheet = wb.createSheet();HSSFCellStyle setBorder = wb.createCellStyle();一、设置背景色:setBorder转载 2013-01-27 18:14:55 · 35334 阅读 · 2 评论 -
JAVA 取得起止日期间的天数集合
import java.text.SimpleDateFormat;import java.util.ArrayList;import java.util.List;/** * @author NB * */public class DateUtil2 {private static String dateFormat = "yyyy-MM-dd";原创 2013-02-04 14:21:48 · 1038 阅读 · 0 评论 -
JQuery获取元素对象大全
Query获取 Select选择的Text和Value:语法解释:1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项 时触发2. var checkText=$("#select_id").find("option:selected").text(); //获取Select选择的Text转载 2013-01-21 14:35:10 · 8618 阅读 · 0 评论 -
优化Myeclipse10 Building Workspace速度慢等问题
优化Myeclipse10 Building Workspace速度慢等问题如题,Building Workspace速度慢的很大一部分原因是在没必要地validate那些JS文件。而:关掉Preference -> General -> Workspace中的Build automatically,或者:将Preference -> MyEclipse -> Validation中的Ma转载 2013-06-03 11:24:35 · 1196 阅读 · 0 评论 -
Tomcat配置SSL全过程
******************************************************************一:cmd 打开dos命令创 进入jdk/bin目录执行下面命令生成密钥库-----------------------------------------------------------------keytool -genkey -alias t原创 2014-01-15 10:17:53 · 958 阅读 · 0 评论 -
Eclipse 插件大全 (持续更新)
SVN - http://subclipse.tigris.org/update_1.8.xm2e - http://m2eclipse.sonatype.org/sites/m2eGroovy plugin - http://dist.springsource.org/release/GRECLIPSE/e4.3/Groovy plugin - http://dist.sprin原创 2016-03-16 10:53:25 · 402 阅读 · 0 评论 -
JAR包
Spring-framework *.*下载地址http://maven.springframework.org/release/org/springframework/spring/原创 2016-05-31 11:10:26 · 481 阅读 · 0 评论 -
DOJO-dijit.form.FilteringSelect(扩展下拉菜单,封装了刷新函数)
dojo.require("dijit.form.FilteringSelect");//扩展下拉菜单var combo = new dijit.form.FilteringSelect({ searchAttr: "name", propercase: true, colspan: 2, style: {width: '150px', ma原创 2012-04-20 16:27:19 · 2249 阅读 · 0 评论 -
DOJO-dojox.grid.EnhancedGrid(带刷新函数,分页工具栏,复选框,行号等功能)
dojo.require("dojox.grid.EnhancedGrid");dojo.require("dojox.grid.enhanced.plugins.Pagination");dojo.require("dojox.grid.cells");dojo.require("dojox/grid/_CheckBoxSelector");dojo.require("dojo.原创 2012-04-20 16:20:09 · 3350 阅读 · 0 评论 -
FusionCharts - JSON Data
var chart1 = new FusionCharts("MSCombiDY2D.swf", "ChartID", "100%", "100%", "0", "0"); chart1.setJSONData( { animation:"1", caption:"JSON Data", line原创 2012-01-11 13:42:41 · 4820 阅读 · 2 评论 -
JavaEE - Eclipse下Web工程导入Myeclipse不能被识别解决方式
解决:Eclipse下Web工程导入Myeclipse不能被识别,无法发布等问题。1、首先,将你的Eclipse web工程copy一份作为备份,以防修改不成功。2、然后,打开你的web工程目录,删除.metadata(大致是这个名字,记不清了,抱歉!),从你的任意myeclipse下的web工程内复制 ".myetadata"和".project"两个文件到当前目录,然后修改".myet原创 2012-01-06 09:21:41 · 2115 阅读 · 0 评论 -
JavaScript - 获取浏览器和屏幕宽高信息
网页可见区域宽:document.body.clientWidth网页可见区域高:document.body.clientHeight网页可见区域宽:document.body.offsetWidth (包括边线的宽)网页可见区域高:document.body.offsetHeight (包括边线的宽)网页正文全文宽:document.body.scrollWidth网页正文全转载 2012-01-18 10:11:57 · 556 阅读 · 0 评论 -
JavaScript - 获取当前日期时间
Js获取当前日期时间及其它操作var myDate = new Date();myDate.getYear(); //获取当前年份(2位)myDate.getFullYear(); //获取完整的年份(4位,1970-????)myDate.getMonth(); //获取当前月份(0-11,0代表1月)myDate.getDate();转载 2012-01-06 16:23:10 · 16110 阅读 · 1 评论 -
JQuery - Hyperlink Filter
$(document).ready(function() { $("a").click(function() { var oThis = $(this); var text = oThis.text(); if (null != text && "" != text) { $.ajax( {原创 2012-01-06 08:34:19 · 373 阅读 · 0 评论 -
ExtJS - PivotGrid
var store = new Ext.data.Store({ url: '', //autoLoad: true, reader: new Ext.data.JsonReader({ root: '' }, Ext.data.Record.create([ {name: 'id', mapping: 'id'},原创 2012-01-06 08:37:40 · 2623 阅读 · 0 评论 -
ExtJS - JSON.js
var JSON = { org: 'http://www.JSON.org', copyright: '(c)2005 JSON.org', license: 'http://www.crockford.com/JSON/license.html', records2JsonString: function(records) { var json = ""原创 2011-12-28 08:31:35 · 435 阅读 · 0 评论 -
JavaScript - 弹出层
popup.html * { margin: 0; } body { font-size: 9pt; } #container div { margin-top: 6px;转载 2012-03-06 14:55:50 · 437 阅读 · 0 评论 -
今天你DOJO了么?第一篇:旅程的开始
大道理、大理论我就不再废话了,直接进入主题:一个DOJO初学者,该怎么下手?下面我所说的不一定全对,只是使用DOJO一段时间后对它的一点个人见解,希望对大家有帮助!准备:第一步:开源技术必要的一步-到官网下载开发工具包(我现在用的是1.7.x)。第二步:解压工具包,COPY到工程的WebRoot目录下,我这里给下载的开发包重名为dojoroot。开发:可能大家之前接触过JQue原创 2012-04-25 15:50:59 · 1303 阅读 · 0 评论 -
SQL-各种数据库中查看当前库中所有表和字段信息
各种数据库中查看当前库中所有表和字段信息2012-02-12 16:19>>mysql :1、查看所有表名:show tables [from db_name];2、查看字段信息SHOW FULL COLUMNS FROM db_name.table_name获取以下信息Field:字段名Type:字段类型Collation:字符集(mysql 5.转载 2012-04-20 16:12:00 · 1712 阅读 · 0 评论 -
Cocos2d-JS 相关文章
4.4 Cocos2d-JS的屏幕适配方案http://www.cocos.com/doc/article/index?type=cocos2d-x&url=/doc/cocos-docs-master/manual/framework/cocos2d-js/4-essential-concepts/4-4-resolution-policies/zh.md原创 2016-06-21 14:40:48 · 390 阅读 · 0 评论