- 博客(4)
- 收藏
- 关注
原创 jQuery判断显示的元素,并获取显示元素数据
// 获取显示元素的数据 [code="js"]jQuery(this).find("a:visible").attr("href");[/code] // 多级标签选择器 [code="js"]jQuery("#slider").click(function(){ var rel = jQuery(".nivo-controlNav a.active").attr(&q
2012-12-25 09:58:18 435
原创 Css Hack区分IE6,IE7,IE8和其他浏览器
[code="css"] 最后作者给出了最佳方式: IE 6 and below Use * html {} to select the html element. IE 7 and below Use *+html, * html {} to select the html element. IE 7 only Use *+html {} to select the html ...
2012-12-17 16:59:09 135
原创 Java自定义序列化进行加密处理
[code="java"] private static final long serialVersionUID = 1L; private String password = "pass"; public String getPassword() { return password; } public void setPassword(String passw...
2012-12-06 16:11:15 204
原创 Java手动序列化和反序列化的实现
[code="java"] //序列化对象为String字符串,先对序列化后的结果进行BASE64编码,否则不能直接进行反序列化 public static String writeObject(Object o) throws Exception { ByteArrayOutputStream bos = new ByteArrayOutputStream()...
2012-12-06 16:09:54 292
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人