2007-01-04 18:35:58
专注于Web
View Mode: Normal | Article List
李白《行路难》三首(其一)
[ 2007-06-06 23:31:04 | Author: hegaoli ]
金樽清酒斗十千, 玉盘珍馐直万钱。停杯投箸不能食, 拔剑四顾心茫然。
欲渡黄河冰塞川, 将登太行雪满山。闲来垂钓碧溪上, 忽复乘舟梦日边。
行路难,行路难, 多歧路,今安在?长风破浪会有时, 直挂云帆济沧海。
欲渡黄河冰塞川, 将登太行雪满山。闲来垂钓碧溪上, 忽复乘舟梦日边。
行路难,行路难, 多歧路,今安在?长风破浪会有时, 直挂云帆济沧海。
升级Blog,关闭评论
[ 2007-05-31 23:15:31 | Author: hegaoli ]
今天Blog从 LBS Version 2.0.304 升级到 LBS Version 2.0.310,同时,由于受到大量广告信息的困扰,而关闭了博客的评论功能
引用页面内iframe页面的方法
[ 2007-05-19 11:28:41 | Author: hegaoli ]
直接可以通过id来获取,获取方法是window.frames[id],如下是示例代码:
http://www.jsfan.org/example/iframe.htm
Read More...
http://www.jsfan.org/example/iframe.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>iframe元素操作示例</title>
</head>
<body>
<form name="form1"
...<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>iframe元素操作示例</title>
</head>
<body>
<form name="form1"
Read More...
IE主页被强制修改成“个性化搜索”的解决方法
[ 2007-04-27 12:24:21 | Author: hegaoli ]
昨天同事电脑主页被强行修改成“个性化搜索(http://www*gexinghua*cn)”,无法修改过来,经过仔细查找,发现了解决方法:
1.设置文件夹选项,“隐藏受保护的操作系统文件”前面的勾去掉,"隐藏文件和文件夹"选择"显示所有文件和文件夹"
2.关闭QQ和IE
3.打开"任务管理器",结束掉QQ.exe进程
4.删除"开始菜单/程序/启动"里的QQ.exe
5.依次删除每个分区根目录下"autorun.inf"和"boot.exe",打开每个盘的时候一定要用右键打开,避免"boot.exe"运行
6.开始/运行/regedit,搜索"wc98pp.dll",如果有该值,删除
7.打开C盘,搜索"wc98pp.dll",如果有该文件,删除
8.IE/右键/属性,修改主页
这样,就可以修改过来主页了
1.设置文件夹选项,“隐藏受保护的操作系统文件”前面的勾去掉,"隐藏文件和文件夹"选择"显示所有文件和文件夹"
2.关闭QQ和IE
3.打开"任务管理器",结束掉QQ.exe进程
4.删除"开始菜单/程序/启动"里的QQ.exe
5.依次删除每个分区根目录下"autorun.inf"和"boot.exe",打开每个盘的时候一定要用右键打开,避免"boot.exe"运行
6.开始/运行/regedit,搜索"wc98pp.dll",如果有该值,删除
7.打开C盘,搜索"wc98pp.dll",如果有该文件,删除
8.IE/右键/属性,修改主页
这样,就可以修改过来主页了
windows修改密码后,SQL Server登录失败的解决办法
[ 2007-04-21 09:24:25 | Author: hegaoli ]
控制面板 --> 管理工具 --> 服务 --> MSSQLSERVER --> 右键 --> 属性 --> 登录,重设一下密码即可
如果有SQLSERVERAGENT,也需要重设密码
如果有SQLSERVERAGENT,也需要重设密码
浏览文件表单“浏览”的修改
[ 2007-04-13 20:34:08 | Author: hegaoli ]
下面的代码可以模拟实现“浏览”按钮的功能:
<input type="text" id="input1">
<input type="button" id="btn1" onclick="myfile.click();" value="Open...">
<input type="file" id="myfile" onchange="input1.value=this.value" style="display:none">
<input type="button" id="btn1" onclick="myfile.click();" value="Open...">
<input type="file" id="myfile" onchange="input1.value=this.value" style="display:none">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>清空表格里的数据</title>
<style type="text/css">
<!--
#theTable {
background:#F00;
border:0px;
...<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>清空表格里的数据</title>
<style type="text/css">
<!--
#theTable {
background:#F00;
border:0px;
Read More...
封装了的Ajax函数
[ 2007-02-05 12:41:29 | Author: hegaoli ]
为调用方便,封装了Ajax的一些操作
Read More...
function getXMLHttpRequest(){
var XHR;
if(window.ActiveXObject){
try {
XHR = new ActiveXObject("Msxml2.XMLHTTP") ;
}
catch(e){
try{
XHR = new ActiveXObject("Microsoft.XMLHTTP") ;
}
catch(e){
XHR = false ;
}
}
}
else if(window.XMLHttpRequest)
XHR = new XMLHttpRequest();
return XHR ;
}
function sendRequest(url,requestMethod){
...var XHR;
if(window.ActiveXObject){
try {
XHR = new ActiveXObject("Msxml2.XMLHTTP") ;
}
catch(e){
try{
XHR = new ActiveXObject("Microsoft.XMLHTTP") ;
}
catch(e){
XHR = false ;
}
}
}
else if(window.XMLHttpRequest)
XHR = new XMLHttpRequest();
return XHR ;
}
function sendRequest(url,requestMethod){
Read More...







