2009年02月08日 星期日 11:38 A.M.
#include <windows.h>
#include <process.h>//for _endthread and _beginthread
#include <string>
#include <fstream>
#include <iostream>
#include "psapi.h"//for getting information like memory statistics
#include "Do_File.h"//for jni
using namespace std;
/// <summary>
/// run 进行在线测试
/// Builder:唐彦 2009 1 20
/// V1.0 2009 1 20
/// </summary>
/*实现输入输出重定向相关 |
2008年12月31日 星期三 03:57 P.M.
Introduction
Jacob is a Java/COM bridge provided by Dan Adler under a semi GPL license (may not be used in a commercial product targetted at java developers, e.g. virtual machines, debuggers. The chance that you are not allowed to use it is very slim).
There |
2008年07月09日 星期三 03:44 P.M.
文章来源:http://www.netinter.cn/info/html/wangyezhizuo/css/20080225/42174.html
CSS代码:
.list{
margin: 0px 10px 20px;
text-align: left;
}
.list ul{
list-style-type: none;
margin: 0px;
padding: 0px;
}
.list li{
background: url(/news/images/line.gif) repeat-x bottom;
/*列表底部的虚线*/
width: 100%;
}
.list li a{
color: #777777;
display: block;
padding: 6px 0px 4px 15px;
background: url(/ne |
2008年06月06日 星期五 05:09 P.M.
文章来源:http://angeldhp.javaeye.com/blog/146612
FILTER:progid:DXImageTransform.Microsoft.Gradient使用
语法:
filter:progid:DXImageTransform.Microsoft.Gradient(enabled=bEnabled,startColorStr=iWidth,endColorStr=iWidth)
属性:
enabled:可选项。布尔值(Boolean)。设置或检索滤镜是否激活。 true | false
true: 默认值。滤镜激活。
false:滤镜被禁止。
startColorStr:可选项。字符串(String)。设置或检索色彩渐变的
|
2008年06月06日 星期五 04:09 P.M.
文章来源:http://blog.sina.com.cn/s/blog_5628c1f601000cvl.html
1.firefox不能对innerText支持,也不知道为什么。firefox支持innerHTML但却不支持innerText,所以上网查了一下,原来它改支持textContent来实现innerText,不过实现得没有那么好,默认把多余的空格也保留了。如果不用 textContent,如果字符串里面不包含HTML代码也可以用innerHTML代替
2.禁止选取网页内容:
在IE中一般用js:obj.onselectstart=function(){return fal |
2008年06月02日 星期一 11:19 A.M.
2008年06月02日 星期一 10:58 A.M.
2008年05月31日 星期六 03:01 P.M.
5.4. Equality Operators
This section describes the JavaScript equality and inequality operators. These operators compare two values to determine whether they are the same or different and return a boolean value (TRue or false) depending on the result of the comparison. As shown in |
2008年05月27日 星期二 06:39 P.M.
文章来源:http://hi.baidu.com/rongjiang/blog/item/6f6027c78f6378dfd0006074.html
display:inline;就是将本来是块级的元素显示为内嵌的元素,比如div是一个块级元素,设置了display:inline之后,就会跟其他元素在同级显示了
例:
text1
<div>text2</div>
这里的text1跟text2是分开在两行显示的
而
text
<div style="display:inline;">text2</div>
这里的text1和text2则是在同一行显示的
首先我们要明确,display:inline;与float:lef |
2008年05月27日 星期二 05:15 P.M.
文章来源:http://hi.baidu.com/rczjp/blog/item/4770a345cbac4227cffca3d8.html
分别做了显示,添加,删除的例子,有兴趣的可以看看~呵呵!
<script language="javascript" runat="server">
var conn=new ActiveXObject("Adodb.Connection");
var rs=new ActiveXObject("Adodb.Recordset");
conn.ConnectionString="provider=Microsoft.Jet |