- 浏览: 70897 次
- 性别:
- 来自: 深圳
-
最新评论
-
liujianyangbj:
你好,最近openoffice 3.4.1支持2007转换PD ...
利用OpenOffice将word转换成PDF[转载] -
javatim:
itsoul 写道你这个不能销毁啊,当我关闭浏览器的时候,在线 ...
用xmlhttp和Java session监听改善站内消息系统 -
itsoul:
你这个不能销毁啊,当我关闭浏览器的时候,在线没有减少
用xmlhttp和Java session监听改善站内消息系统 -
jkluooop:
没用,firfox, google浏览器不支持htc.
一个表头固定/列宽可以拖动/标题排序的JS组件 -
ndliruibo:
太有用了
一个表头固定/列宽可以拖动/标题排序的JS组件
文章列表
index.html页面输入如下内容
<html>
<head>
</head>
<body>
<a href="#" onclick="loadUrl1()">你好a</a>
<a href="#" onclick="loadUrl3()">你好c</a>
<a href="#" onclick="loadUrl2()">你好b</a><br> ...
- 2009-06-13 12:27
- 浏览 720
- 评论(0)
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>N ...
- 2009-06-13 12:26
- 浏览 792
- 评论(0)
public class Money {
//调试时用main函数
public static void main(String args[]) {
Money mon = new Money();
// System.out.println(-99999999999999.999 + mon.NumToRMBStr(-99999999999999.999));
// System.out.println(99999999999999.999 + mon.NumToRMBStr(99999999999999.999));
...
- 2009-06-13 12:25
- 浏览 1069
- 评论(0)
1、定位鼠标焦点:
<html>
<body onload=document.formName.Vname.focus()>
</body>
</html>
2、判断数字和字母上下划线:
function isregname( checkobj)
{
var checkOK = "0123456789-_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
var checkStr = checkobj;
var allValid = ...
- 2009-06-13 12:23
- 浏览 632
- 评论(0)
一、点击后,文字变色实例:IE6下测试;
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD><TITLE>鼠标点击表格行背景变色</TITLE>
<style>
td{width:30px;height:30px;background-color:pink;}
</style>
</HEAD>
<BODY>
<table width="245" ...
- 2009-06-13 12:23
- 浏览 909
- 评论(0)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<script>
/* ...
- 2009-06-13 12:21
- 浏览 874
- 评论(0)
<script language =javascript >
var curIndex=0;
//时间间隔 单位毫秒 1000毫秒=1秒
var timeInterval=3000;
var arr=new Array();
arr[0]="images/01.jpg";
arr[1]="images/02.jpg";
arr[2]="images/03.jpg";
arr[3]="images/04.jpg";
arr[4]="images/05.jpg";
ar ...
- 2009-02-05 13:47
- 浏览 2162
- 评论(0)
response.setContentType()的String参数及对应类型
<option value="image/bmp">BMP</option>
<option value="image/gif">GIF</option>
<option value="image/jpeg">JPEG</option>
<option value="image/tiff">TIFF</option> ...
- 2008-11-13 01:19
- 浏览 1757
- 评论(0)
编辑Apache 的配置文件httpd.conf
NameVirtualHost *:80
#端口号
<VirtualHost *:80>
ServerAdmin admin@localhost.com
#管理员MAIL
DocumentRoot d:\wamp\www
#网站文件所在位置
ServerName javatim.vicp.net
#域名
<Directory "d:/wamp/www/">
#网站文件所在位置(注意/在最后也有)
Options FollowSymLinks
AllowOverride N ...
2008-01-11 10:02Javascript刷新页面的几种方法:
1 history.go(0)
2 location.reload()
3 location=location
4 location.assign(location)
5 document.execCommand('Refresh')
6 window.navigate(location)
7 location.replace(location)
8 document.URL=location.href
自动刷新页面的方法:
1.页面自动刷新:把如下代码 ...
- 2008-08-22 11:21
- 浏览 1849
- 评论(0)
(二)添加数据到文件
当文件被创建后,一般要按照“打开文件->填写数据->关闭文件”的步骤实现添加数据到文件的目的。
打开文件可使用FileSystemObject对象的OpenTextFile方法,或者使用File对象的OpenAsTextStream方法。
填写数据要使用到TextStream对象的Write、WriteLine或者WriteBlankLines方法。在同是实现写入数据的功能下,这3者的区别在于:Write方法不在写入数据末尾添加新换行符,WriteLine方法要在最后添加一个新换行符,而WriteBlankLines则增加一个或者多个空行。
关闭文件可使 ...
- 2008-08-12 17:21
- 浏览 3140
- 评论(0)
(二)Drive对象操作例程
下面的例程显示驱动器C的卷标、总容量和可用空间等信息:
var fso, drv, s ="";
fso = new ActiveXObject("Scripting.FileSystemObject");
drv = fso.GetDrive(fso.GetDriveName("c:\\"));
s += "Drive C:" + " - ";
s += drv.VolumeName + "\n";
s += "Total ...
- 2008-08-12 17:18
- 浏览 1797
- 评论(0)
一、功能实现核心:FileSystemObject 对象 要在javascript中实现文件操作功能,主要就是依靠FileSystemobject对象。二、FileSystemObject编程 使用FileSystemObject 对象进行编程很简单,一般要经过如下的步骤: 创建FileSystemObject对象、应用相关方法、访问对象相关属性 。 (一)创建FileSystemObject对……
【文章正文】
一、功能实现核心:FileSystemObject 对象
要在javascript中实现文件操作功能,主要就是依靠FileSystemobject对象。
...
- 2008-08-12 17:17
- 浏览 1209
- 评论(0)
配置方法:
Tomcat 5.5\server.xml文件,在<HOST></HOST>间加入:
<Context path="/test" docBase="C:\tstest" reloadable="true" debug="0" />
解决办法:
以下是 Tomcat 5.5\conf\web.xml文件内容:(你找找,好像是此目录)
<init-param>
<param-name>listings</param-name> ...