存档

作者存档

JQuery学习笔记1

2010年3月10日 admin 没有评论

选择器(selector)

先看看可以如何把他们分类:
从接收的参数类型来看
1.JS对象
2.字符串

分类: 收集 标签:

apache Deflate配置

2010年2月28日 admin 没有评论

AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript

分类: 收集 标签:

软件项目交易网

2010年2月26日 admin 没有评论

http://www.sxsoft.com/

分类: 收集 标签:

Java基础知识——JNI入门介绍

2010年2月26日 admin 没有评论

用JNI可以调用本地C++库

http://java.chinaitlab.com/JDK/36677.html

分类: 收集 标签:

开源中国

2010年2月26日 admin 没有评论

http://www.oschina.net/

不少开源项目

分类: 收集 标签:

Java的内存泄漏

2010年2月26日 admin 没有评论

JAVA的内存泄露是指内存中有永远不会被使用,且不会被JVM回收的对象

http://www.ibm.com/developerworks/cn/java/l-JavaMemoryLeak/

分类: 收集 标签:

VBS脚本使用WMI操作注册表

2010年2月26日 admin 没有评论

http://msdn.microsoft.com/en-us/library/aa394600(VS.85).aspx

http://www.microsoft.com/china/technet/community/scriptcenter/registry/default.mspx

分类: 收集 标签:

使用P3P协议完成Cookie跨域

2010年2月25日 admin 没有评论
<?php
header('P3P: CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"'); 
setcookie('testkey','testvalue');
分类: 收集 标签:

jmpopups : A JQuery Plugin for popups layers

2010年2月25日 admin 没有评论

Advantages
You can open more than one popup the same time;
There is no pre-defined layout, so you are able to create your own layout;
You can call the popups using ajax or using the content of a hidden html element;
The jmpopups is concerned about acessibility. When a popup is opened, the focus will be kept only inside that popup. It will directly focus the first focusable element. The idea is to help users who use the keyboard for browsing (f.e. disabled people).
It works for IE 6+, FF 1.5+, Opera 9.*, Chrome 2.*, Safari 4.*.
Compatible with JQuery 1.3.*

Demo

http://otavioavila.com/jmpopups-example/

分类: 收集 标签:

js操作cookie的几个函数

2010年2月25日 admin 没有评论
function setCookie(name,value,days){
        var exp=new Date();
        exp.setTime(exp.getTime() + days*2*60*60*1000);
        var arr=document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));
        document.cookie=name+"="+escape(value)+";expires="+exp.toGMTString();
}
function getCookie(name){
        var arr=document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));
        if(arr!=null){
                return unescape(arr[2]);
                return null;
        }
}
function delCookie(name){
        var exp=new Date();
        exp.setTime(exp.getTime()-1);
        var cval=getCookie(name);
        if(cval!=null){
                document.cookie=name+"="+cval+";expires="+exp.toGMTString();
        }
}
分类: 收集 标签: