<![CDATA[{梁豐日志} - 资源]]> http://www.liangfeng.org/ zh-cn PBlog2 v2.4 {梁豐日志} http://www.liangfeng.org/images/logos.gif http://www.liangfeng.org/ {梁豐日志} http://www.liangfeng.org/default.asp?id=155 <![CDATA[SKIN侧边文字换行重叠]]> LiangMess@Yahoo.Com(梁子) Mon,26 Jun 2006 21:28:01 +0800 http://www.liangfeng.org/default.asp?id=155 http://www.smth03.com/article.asp?id=167 上找到答案。

现抄到如下:

主要是由于左边显示文字的行高line-height 属性没有定义的缘故,.sideA:的高度是被定义在16PX,而文字大小12PX,所以就会有错行。
找到skin根目录下的layout.css用记事本打开,找到
/*---工具箱样式--*/下面第三行
.Pcontent{text-align:left;padding-left:5px;padding-top:3px;}
在其后面加上 line-height:16px或者如shazi1896解决的那样加line-height:120%都可以

即这一句改为
.Pcontent{text-align:left;padding-left:5px;padding-top:3px;line-height:16px;|或者line-height:120%|}

问题就解决了。

]]>
http://www.liangfeng.org/default.asp?id=150 <![CDATA[MPC播放WMV无声音的问题]]> LiangMess@Yahoo.Com(梁子) Sun,18 Jun 2006 17:35:56 +0800 http://www.liangfeng.org/default.asp?id=150 regsvr32.exe wmadmod.dll]]> http://www.liangfeng.org/default.asp?id=149 <![CDATA[PJblog2使用攻略]]> LiangMess@Yahoo.Com(梁子) Sun,18 Jun 2006 16:50:57 +0800 http://www.liangfeng.org/default.asp?id=149 PJBlog是目前我所试用过的最强大最好用的博客程序之一,但任何一个程序都不是为你定身打造的,就比如Windows,安装完之后你还要做很多很多的配置工作,PJBlog也一样。本文所列内容为本人建站过程中亲自碰到的问题或其他fans问的比较多的,那些点几下鼠标就能找到的设置就不提了。

01. 更改默认的“Cookie,Application域”
===================================================
一个服务器上如果存在多个Cookies域一样的PJBlog,那么这些Bolg都将无法正常运行,表现形式是内容相互干扰,修改方法:打开Blog根目录下的“const.asp”,修改15、16行Const CookieName=""和Const CookieNameSetting=""的值。

02. 更改数据库后缀名,消除“数据库连接出错”的错误提示
===================================================
个别空间不支持以“.asp”为后缀名的Access数据库,会出现“数据库连接出错,请检查连接字串!”的错误提示,修改方法:首先把blogDB目录下的数据库文件由*.asp改为*.mdb,然后更改“const.asp”第37行“Const AccessFile”的数据库路径和文件名。

03.1. 修改验证码,使它永远只出现四个“0”
===================================================
在个人Blog中使用验证码没什么意义,PJBlog后台又没有关闭验证码的选项,所以最好的办法就是让它只显示最简单的符号,本站把验证码全部改为4个“0”:
找到common\GetCode.asp,修改“Dim i, ii, iii”下面这段为:
Const cOdds = 0 ' 不出现杂点
Const cAmount = 1 ' 就取一个符号,默认是0
Const cCode = "0123456789" '这一行可以不用改的

03.2. 使系统自动填写验证码(再复杂的验证码也不用手工输入了,呵呵(09.27)
===================================================
在Blog根目录新建一个“*.asp”文件,在里面填写以下代码:
<script>if(parent.document.all.validate)parent.document.all.validate.value="<%=Session("GetCode")%>";</script>
然后在footer.asp的最上面插入一句:
<iframe frameborder="no" height=0 width=0 src="*.asp"></iframe>

04. 在common/library.asp中修改侧边栏“用户面板”的条目名称
===================================================
侧边栏用户面板中默认的项目名称有长有短,看着很不美观,修改library.asp第83行以下的内容,本站把它们都改为四个字的,即“系统管理”“发表日志”“编辑草稿”“修改资料”“退出系统”。

05. 修改建站时间
===================================================
在后台“设置模块”找到模块标识为“BlogInfo”的模块,点击后面的“编辑HTML源代码”进行修改;
另外,侧边栏统计信息里的留言默认是没有链接的,在这里也可以进行编辑把链接加上,把整句代码改成
程序代码
留言: <a href="LoadMod.asp?plugins=GuestBookForPJBlog"><b>$blog_MessageNums$</b> 个</a><br/>

06. 在侧边栏上部增加公告栏或站长信息栏
===================================================
进入后台“界面与插件”-“设置模块”,在页面下方新建一个“侧边模块”,模块标识任意,名称为“公告板”或“站长档案”,注意排序要设为最小,点击“保存模块”。保存后点击后面的“编辑HTML源代码”,如果是用作静态公告板,则直接往里边写字就行了。如果是用作站长信息栏,可以在里面添加照片、说明什么的,可以效仿以下代码:
程序代码
<div style="PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; PADDING-TOP: 4px; TEXT-ALIGN: left">
<a href="点击图片后指向的链接地址" target="_blank"><img border="0" alt="XHTML 1.0 Transitional" src="站长信息的图片地址"/></a>
</div>

07. 在日志正文上方增加一滚动的公告板或广告板
===================================================
进入后台“界面与插件-设置模块”,在页面下方新建一个“内容模块”,模块标识和名称任意,注意排序要比“ContentList”小,点击“保存模块”。保存后点击后面的“编辑HTML源代码”,填入以下代码:
程序代码
<div style="CLEAR: none; BORDER-RIGHT: #dbdbd0 1px solid; BORDER-TOP: #dbdbd0 1px solid; BACKGROUND: #fff; MARGIN: 5px; BORDER-LEFT: #dbdbd0 1px solid; WIDTH: 98%; BORDER-BOTTOM: #dbdbd0 1px solid; HEIGHT: 15px">

<div style="PADDING-RIGHT: 0px; DISPLAY: block; PADDING-LEFT: 3px; FLOAT: left; PADDING-BOTTOM: 0px; WIDTH: 5px; COLOR: #2e8b57; PADDING-TOP: 6px">公</div>
<div style="PADDING-RIGHT: 0px; DISPLAY: block; PADDING-LEFT: 1px; FLOAT: left; PADDING-BOTTOM: 0px; WIDTH: 5px; COLOR: #2e8b57; PADDING-TOP: 6px">告</div>

<div style="MARGIN: 3px"><marquee onmouseover="this.stop()" onmouseout="this.start()" scrollamount="3" scrolldelay="15" direction="left" height="15">
<font color="#999999">[时间或编号]</font><font color="#0000ff"><b>第一条公告题头</b>第一条公告内容</font>

<font color="#999999">[时间或编号]</font><font color="#0000ff"><b>第二条公告题头</b>第二条公告内容</font>

</marquee></div></div>
其中WIDTH: 98%是宽度,HEIGHT: 15px是高度(这个高度为显示一行文字),scrollamount="3"为滚动速度,direction="left"为滚动方向(left是从右到左)。

08. 增加相册功能,手工添加相册首页链接
===================================================
前几天找到了很多Flash的相册,除了界面美外,似乎不怎么好用,我还是希望把目前在用的这个相册给完善一下。

09. 编辑日志后,文章底部出现“[本日志由 某某 于 何时 编辑]”的字样(10.28)
===================================================
编辑blogedit.asp文件,找到并删除下面这一句代码
程序代码
if weblog("log_IsDraft")=false then weblog("log_Modify")="[本日志由 "&memName&" 于 "&DateToStr(now(),"Y-m-d H:I A")&" 编辑]"

X1. 在线音乐播放器修改指南
===================================================
本站采用的播放器是aboutplayer(随机版),相比其他同类软件主要有以下几个优点:a.可以添加播放本地文件;b.在同一页面可查看播放列表并选曲;c.碰到链接失效的文件会自动重试3次,如果判断真的失效,会自动接着播放其他的曲目(主要优点)。

01.把播放器解压缩到“music”目录并放在你的网站根目录下;
02.在你的Blog目录下新建一个“index.htm”的文件,添加如下的框架代码:
程序代码
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>╃落伍先锋#电老虎╉音乐版</title>
</head>
<frameset rows="*,22" frameborder="NO" border="0" framespacing="0">
<frame src="/PJBlog/default.asp(注:Blog首页面的地址)" name="mainFrame" scrolling="yes">
<frame src="/music/selectindex.htm(注:音乐播放器的地址)" name="bottomFrame" scrolling="NO" noresize>
</frameset>
<noframes></noframes>
</html>
上面的"*,22"表示Blog主体页面在上方,音乐播放器在下方,且播放器的高度为22象素;
03.在播放器中增加关闭播放器的功能。在播放器的首页中加如下代码:
<a href="http://你的Blog首页面(如index.asp)" target="_top">关闭播放器</a>
04.播放列表为:music/js/data.js,文件里附有操作说明。

X2. 设置自动跳转页面
===================================================
有时候网站程序不是放在空间根目录下的,这时候需要一个从根目录跳转到子目录的文件,把以下代码存成index.htm或index.asp放在网站根目录即可:
程序代码
<html>
<head>
<meta http-equiv="Content-Language" content="zh-CN">
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<title></title>
</head>
<body>
<meta http-equiv="refresh" content="0.1;url=PJBlog/index.htm(根据自己的情况修改)">
</body>
</html>

X3. 给每个Skin增加了四彩鼠标样式
===================================================
01.把四彩鼠标指针拷贝到“images”目录,
02.修改每个皮肤文件夹里的global.css,在body段添加一行“cursor:url('./images/blue.cur');”
03.修改每个皮肤文件夹里的link.css,分别给a:link、a:visited和a:active添加鼠标指针样式;

X4. 修改滚动条样式
===================================================
正在研究合适的配色方案


http://blue.1.6007.net/ooo/article.asp?id=5]]>
http://www.liangfeng.org/default.asp?id=148 <![CDATA[抢先申请@live.com和@live.cn邮箱域名]]> LiangMess@Yahoo.Com(梁子) Fri,16 Jun 2006 23:19:37 +0800 http://www.liangfeng.org/default.asp?id=148
但是现在已经有了提前注册的方法!如果你对新的邮箱域名感兴趣,可以按着以下方法注册成功:

1. IE输入 https://accountservices.passport.net/reg.srf?xpwiz=true&fid=RegXPWizCredO 选择“使用我的电子邮件地址”注册Windows Live ID(Microsoft Passport Network) 。

2.完成注册后,用刚申请的passport账号在 https://login.live.com/login.srf?lc=2052 登录

3.登录成功后,在IE地址栏输入 https://account.live.com/EditProf.aspx?mkt=zh-cn 进入后编辑个人信息,修改出生年份(不要冒充未成年)把国家居住地改为美国(美国可得到@live.com的信箱,中国则得到@live.cn的信箱,未填写个人信息则得到@windowslive.com)

4.在IE地址栏输入 https://account.live.com/LoginChangeName.aspx 然后输入之前帐号的密码,选择一下新的id@live.com(检测有没有使用),然后点OK


经测试,此方法注册成功的live.com/live.cn域名可正常登录使用邮箱,live.cn邮箱采用Hotmail邮件系统,live.com邮箱采用Live邮件系统;均可正常登录使用Live Messenger。曾经用自己邮箱注册过passport的用户可直接使用自己的邮箱进行登录,从而跳过第1项。


PS:已经注册:liangfeng@live.com liangzi@live.com 嘿,感觉不错。



~~此方法目前已经失效!


]]>
http://www.liangfeng.org/default.asp?id=142 <![CDATA[在Web上设置Skype在线状态]]> LiangMess@Yahoo.Com(梁子) Sun,21 May 2006 16:42:03 +0800 http://www.liangfeng.org/default.asp?id=142 第二步,设置工具中选项“允许在网页上显示我的skype状态”,得到所需代码。
第三步,将代码嵌入Web页面。
示例代码如下,只需将黑体部分改成自己的Skype用户名就行。将“bigicon”改成“smallicon”或“classicon”,可改变按钮大小和样式。

程序代码 程序代码
<a href="skype:liangonline?call" onclick="return skypeCheck();"><img src="http://mystatus.skype.com/bigicon/liangonline" style="border: none;" alt="Call me!" /></a>


具体浏览:http://www.skype.com/share/buttons/





]]>
http://www.liangfeng.org/default.asp?id=140 <![CDATA[Yahoo及其分站邮箱POP3设置详解]]> LiangMess@Yahoo.Com(梁子) Thu,11 May 2006 22:20:22 +0800 http://www.liangfeng.org/default.asp?id=140   Yahoo的免费邮箱不支持POP3和SMTP,但是那只是官方的说法,通过一些小窍门还是可以让Yahoo邮箱使用POP3服务的,大家一起来试试看吧。

  在网页上进入到信箱首页,点击页面右上角的“邮件选项”链接,在下个页面中点击“帐户信息”,然后在下个页面上点击“用户信息”一栏旁的“编辑”按钮。在随后打开的“Yahoo成员信息”页面上的“电子邮件信息”一栏中,在“促销信息”下拉菜单中选择“发送到我的Yahoo!电邮地址”,然后点击“完成”按钮结束修改。

  现在你的Yahoo邮箱就可以使用POP3收取邮件了,服务器可以设置为Yahoo中国的邮箱服务器地址pop.mail.yahoo.com.cn,smtp.mail.yahoo.com.cn或其它分站的邮箱服务器地址,这时便可以像添加其它信箱帐户那样将你的Yahoo帐户添加到任何支持POP3协议的电子邮件客户端软件中了。

Yahoo分站邮箱服务器地址列表
  Yahoo分站免费邮箱的POP3和SMTP是216.136.173.10和216.136.173.12。Yahoo.co.uk的POP3和SMTP是pop.mail.yahoo.co.uk、smtp.mail.yahoo.co.uk或是pop.vip.sc5.yahoo.com、smtp.mail.vip.sc5.yahoo.com。

  此外,下面列出了更多的Yahoo分站邮箱的服务器地址,可以在需要时使用。

  1. POP3和SMTP是pop.mail.yahoo.com.mx/cn/hk/tw/br/ar/au和smtp.mail.yahoo.com.mx/cn/hk/tw/br/ar/au:

  yahoo.com.mx (Mexico)
  yahoo.com.cn (China)
  yahoo.com.hk (HongKong)
  yahoo.com.tw (Taiwan)
  yahoo.com.br (Brazil)
  yahoo.com.ar (Argentina)
  yahoo.com.au (Austalia/New Zealand)

  2. POP3和SMTP是pop.mail.yahoo.co.kr/uk/jp和smtp.mail.yahoo.co.kr/uk/jp:

  yahoo.co.kr (Korea)
  yahoo.co.uk (United Kingdom/Ireland)
  yahoo.co.jp (Japan)

  3. POP3和SMTP是pop.mail.yahoo.ca/dk/de/fr/es/it/se/no和smtp.mail.yahoo.ca/dk/de/fr/es/it/se/no:

  yahoo.ca (Canada)
  yahoo.dk (Denmark)
  yahoo.de (Deutschland)
  yahoo.fr (France)
  yahoo.es (Espana)
  yahoo.it (Italy)
  yahoo.se (Sweden)
  yahoo.no (Norway)

]]>
http://www.liangfeng.org/default.asp?id=139 <![CDATA[MSN/Yahoo/Gmail 信箱的注销网址]]> LiangMess@Yahoo.Com(梁子) Thu,11 May 2006 22:18:56 +0800 http://www.liangfeng.org/default.asp?id=139
https://register.passport.net/ppdelete.srf?lc=2052
Gmail注销地址

https://www.google.com/accounts/DeleteCaribouService
Yahoo注销地址

https://edit.yahoo.com/config/delete_user
]]>
http://www.liangfeng.org/default.asp?id=135 <![CDATA[Windows Live Messenger 8.0 Build 689+去广告补丁]]> LiangMess@Yahoo.Com(梁子) Wed,03 May 2006 20:16:50 +0800 http://www.liangfeng.org/default.asp?id=135
这里下载:
http://g.msn.com/1csbeta/Mess80_EN
http://g.msn.com/1csbeta/Mess80_CN



New in this version

Color Scheme Improvements
In the previous beta build, when you changed your color scheme to a saturated color, Messenger showed a lighter version of that color. In this beta refresh, when you choose a saturated color, we use that color. Messenger can also automatically choose a color scheme that compliments a selected background.

Conversation Window History
Want a clean, sleek conversation window history area? You can now choose to only show “Contact name says:” in the conversation window history when the speaker changes.

Improved Audio Platform
Check out all the configuration options for sounds associated with Messenger events.

Live Contacts
Want the most up-to-date phone number or street address for your instant messaging contacts? Subscribe to their contact information with Windows Live Contacts and you’ll always have their most recent published information in your address book.

Messenger Add-ins
Ever wanted to update Messenger functionality yourself? Now you can develop, post, and download add-ins (software that you add to Messenger that provides extra features or functionality) that will chat with your contacts when you’re not available, automatically update your display picture and personal message, and more.

Updated Windows Live Look and Feel
We gave you the first peek at the Windows Live look for Messenger in February. Since then, we’ve updated our status icons, the look of the main window and conversations windows, and more!


去广告+搜索:http://milk.91.tc/msgsres1.rar
去广告:http://milk.91.tc/msgsres2.rar



]]>
http://www.liangfeng.org/default.asp?id=72 <![CDATA[经典QQ回复]]> LiangMess@Yahoo.Com(梁子) Sun,16 Apr 2006 17:30:01 +0800 http://www.liangfeng.org/default.asp?id=72
  2、最近比较烦,比较烦,比较烦,老板的任务总是天天做不完,你要问我何时会在线,我说基本上这个很难.

  3、我是QQ自动答录机,我的主人去吃饭了,你有什么话可以对我说.

  4、不是我不理你,只是时间难以抗拒!

  5、不必烦恼,忙完了我就与你聊.不必徒劳,没忙完你想找我也找不到.假如你我有前生的约定,请稍等,不见不散!

  6、我是蓝鲨的狗,蓝鲨现在不在,他一会儿就回来,如果你愿意,我可以陪你聊会儿!

  7、这次是我不经意的离开,却造成我们失之交臂的遗憾.于是我忘记了吃饭,无法再安睡,于是我不甘寂寞急忙归来.

  8、对不起,你发过来的还是乱码,再发一遍好吗?

  9、您使用的QQ是未注册版本.您可以继续使用本软件,但将屏蔽发送短信息的功能.支持国产软件,请您注册新版!

  10、因为工作的关系,曾面对无数好友呼叫不能回应,最痛苦的事莫过于此.如果给我一次机会,我要说三个字:我离开.如果一定要给这三个字加个期限,我希望是:一会儿!

  11、你真的想找我吗,想找我的话我就回复.如果你真的想找我,我又怎幺会不回复你呢?你不是真的想找我吧?难道你真的要找我吗?

  12、我总是手太软,心更软,没有话题还陪你聊.上机总是简单,下机太难,现在睡觉,不再勉强.

  13、聊天诚可贵,网费价更高.若为睡觉故,二者皆可抛!:----Zzzz

  14、广告之后,马上回来!

  15、上网不聊天,气死活神仙!

  16你刚才说什么,我没看清楚,请再说一遍!

  17、我在卿不在,卿在我无踪.问世间缘是何物?直教你我难相逢?

  18、对不起,课间休息,下堂课再聊!
]]>
http://www.liangfeng.org/default.asp?id=70 <![CDATA[页面loading收集]]> LiangMess@Yahoo.Com(梁子) Sun,16 Apr 2006 17:26:43 +0800 http://www.liangfeng.org/default.asp?id=70
<html>
<head>
<title>正在载入...</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<table border=0 cellpadding=0 cellspacing=0 width="100%" height="100%">
<tr>
<form name=loading>
<td align=center>
<p><font color=gray>正在载入首页,请稍候.......</font></p>
<p>
<input type=text name=chart size=46 style="font-family:Arial;
font-weight:bolder; color:gray;
background-color:white; padding:0px; border-style:none;">
<br>
<input type=text name=percent size=46 style="font-family:Arial;
color:gray; text-align:center;
border-width:medium; border-style:none;">
<script>var bar = 0
var line = "||"
var amount ="||"
count()
function count(){
bar= bar+2
amount =amount + line
document.loading.chart.value=amount
document.loading.percent.value=bar+"%"
if (bar<99)
{setTimeout("count()",100);}
else
{window.location = "http://www.cnbruce.com/";}
}
</script>
</p>
</td>
</form>
</tr>
</table>
</body>
</html>



样式二:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>CN-Bruce</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>

<body>
<style type="text/css">
#divLoadCont{position:absolute; z-index:500; left:0; top:0; width:100%; height:98%; clip:rect(0,100%,100%,0); background-color:transparent; layer-background-color:white; }
#divLoad1{position:absolute; layer-background-color:silver; background-color:silver}
#divLoad2{position:absolute; left:0; top:0; layer-background-color:navy; background-color:navy}
#divLoadText{position:absolute; background-color:transparent; font-family:arial,helvetica; color:Navy; font-size:14px; }
</style>
<script language="JavaScript" type="text/javascript">
function lib_bwcheck(){ //Browsercheck (needed)
this.ver=navigator.appVersion
this.agent=navigator.userAgent
this.dom=document.getElementById?1:0
this.opera5=this.agent.indexOf("Opera 5")>-1
this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0;
this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
this.ie=this.ie4||this.ie5||this.ie6
this.mac=this.agent.indexOf("Mac")>-1
this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0;
this.ns4=(document.layers && !this.dom)?1:0;
this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5)
return this
}
var bw=new lib_bwcheck()
numImages=10 //速度
loaderWidth=300 //进度条长度

currentImg=0
function lib_doc_size(){
this.x=0;this.x2=bw.ie && document.body.offsetWidth-20||innerWidth||0;
this.y=0;this.y2=bw.ie && document.body.offsetHeight-5||innerHeight||0;
if(!this.x2||!this.y2) return message('Document has no width or height')
this.x50=this.x2/2;this.y50=this.y2/2;
return this;
}
function lib_obj(obj,nest){
nest=(!nest) ? "":'document.'+nest+'.'
this.evnt=bw.dom? document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+"document.layers." +obj):0;
this.css=bw.dom||bw.ie4?this.evnt.style:this.evnt;
this.ref=this.css
this.w=this.evnt.offsetWidth||this.css.clip.width||
this.ref.width||this.css.pixelWidth||0;
return this
}
lib_obj.prototype.moveIt = function(x,y){
this.x=x;this.y=y; this.css.left=x;this.css.top=y
}
lib_obj.prototype.clipTo = function(t,r,b,l,setwidth){
this.ct=t; this.cr=r; this.cb=b; this.cl=l
if(bw.ns4){
this.css.clip.top=t;this.css.clip.right=r
this.css.clip.bottom=b;this.css.clip.left=l
}else{
if(t<0)t=0;if(r<0)r=0;if(b<0)b=0;if(b<0)b=0
this.css.clip="rect("+t+","+r+","+b+","+l+")";
if(setwidth){this.css.pixelWidth=this.css.width=r;
this.css.pixelHeight=this.css.height=b}
}
}
var oLoad2
function startLoading(){
page=new lib_doc_size()
oLoadCont=new lib_obj('divLoadCont')
oLoad=new lib_obj('divLoad1','divLoadCont')
oLoad2=new lib_obj('divLoad2','divLoadCont.document.divLoad1')
oLoadText=new lib_obj('divLoadText','divLoadCont.document.divLoad1')
oLoad.moveIt(page.x50-loaderWidth/2,page.y50-20)
oLoadText.moveIt(loaderWidth/2 - oLoadText.w/2,10)
oLoad.clipTo(0,loaderWidth,40,0,1)
oLoad2.per = loaderWidth/numImages
}
function loadIt(ok){
currentImg++
if(oLoad2) oLoad2.clipTo(0,oLoad2.per*currentImg,40,0,1)
if(!ok){
oLoadCont.css.visibility='hidden'
oLoadCont=null; oLoad1=null; oLoad2=null;
}
}
function loadIt_display(ok){
currentImg++
if(oLoad2) oLoad2.clipTo(0,oLoad2.per*currentImg,40,0,1)
if(currentImg<=numImages) setTimeout("loadIt_display(1)",200)
else{
oLoadCont.css.visibility='hidden'
window.location="http://www.cnbruce.com/"
}
}
</script>
<div id="divLoadCont">
<div id="divLoad1">
<div id="divLoad2"></div><br>
<div id="divLoadText">Loading...</div>
</div>
</div>
<script>
startLoading()
//onload=loadIt; //- LEAVE THIS LINE WHILE TESTING. UNCOMMENT WHEN READY
loadIt_display(1) //LEAVE THIS LINE WHILE TESTING. Delete WHEN READY
</script>
</body>
</html>



样式三:


<script language="JavaScript">
<!--
var url = 'index.asp';
//这里就是要跳到的地方
//-->
</script>
<title>网站数据加载中……</title>

</head>

<body onLoad="location.href = url">

<div style='margin-top:40;margin-left:40;margin-right:0'>
<p> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center">
<style><!--.proccess{border:0px solid; border-color:#009900; width:2;height:15;background:eeeeee;margin:0}--></style>
</p>
<div style='margin-top:-20;margin-left:0;margin-right:0' align="center">
<form method=post name=proccess>
<script language=javascript>
document.write("<br><br><br><br><table border=0 cellspacing=1 cellpadding=0 bgcolor=#000000 ><tr bgcolor=#ffffff><td style='font:9pt Verdana;'>")
for(i=0;i<200;i++)document.write("<input class=proccess >")
document.write("</td></tr></table><br>")
document.write("<div align=center style='font-size:9pt;color:#660000;'>Loading……,Please Wait!</div>")
</script>

</form>
</div>
<div align="center">
<script language=JavaScript><!--
var p=0,j=0;
var c=new Array("#FF6600","#ffffff")
setInterval('proccess();',100)
function proccess(){
document.forms.proccess.elements[p].style.background=c[j];
p+=1;
if(p==200){p=0;j=1-j;}}
--></script>
</div>
</div>
<div align="center">
<script>
<!--
if (document.layers)
document.write('<Layer src="' + url + ' " VISIBILITY="hide"> </Layer>');
else if (document.all || document.getElementById)
document.write('<iframe src="' + url + '" style="visibility: hidden;"></iframe>');
else location.href = url;
//-->
</script>
</div>
</body>



样式四:


<SCRIPT>cnease=window.open("","etangWHSAD","top=2000");cnease.close();
focus()
self.resizeTo(800,600)
self.moveTo(-3,-3)</SCRIPT>
<html>
<head>
<title>LemongTree.Net</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
td,form,select,input,textarea,body {font-family: 宋体;font-color:#000000;font-size: 12px;line-height:150%;letter-spacing:2px}
a:link { font-size: 9pt; text-decoration: none; color: #666666}
a:visited { font-size:9pt; text-decoration: none; color: #666666}
a:hover { text-decoration: none; font-size: 9pt; color: #666666}
a:active { font-size: 9px; text-decoration: none; color: #666666}
</style>
<script>
var url='http://www.cnbruce.com/';
</script>
</head>
<body onLoad="location.href=url;" style='overflow:hidden;overflow-y:hidden'>
<div align=center>
<table height=70% valign=middle align=center>
<tr>
<td align="center" disabled>
<!-- Displaytext-->
<div align="center">正在进入</div>
<p></p>
<font class=fontbig>页面读取中,请等待......<br>
</font>
<p></p><p></p>
<style><!--.proccess{border:1px solid;width:8;height:8;background:#ffffff;margin:3}--></style>
<p></p><p></p>
<div align="center">
<form method=post name=proccess>
<script language=javascript>
for(i=0;i<30;i++)document.write("<input class=proccess>")
</script>
</form>
</div></td></tr></table>
<div align="center">
<script language=JavaScript>var p=0,j=0;
var c=new Array("lightskyblue","white")
setInterval('proccess();',100)
function proccess(){
document.forms.proccess.elements[p].style.background=c[j];
p+=1;
if(p==30){p=0;j=1-j;}}
--></script>
</div>
</div>
<div align="center">
<script>
<!--
if (document.layers)
document.write('<Layer src="../3/' + url + ' " VISIBILITY="hide"> </Layer>');
else if (document.all || document.getElementById)
document.write('<iframe src="../3/' + url + '" style="visibility: hidden;"></iframe>');
else location.href=url;
//-->
</script>
</div>



样式五:


<body>
<div id=process>LOADING</div>
<script>
var num=0;
function mypro()
{
num++;
myarray=new Array('#494949','#646464','#747474','#888888','#969696','#A8A8A8','#B6B6B6','#C6C6C6','#D7D7D7','#E1E1E1','#F0F0F0','#F9F9F9')
process.style.color=myarray[num-1]
process.innerText=process.innerText+'>>';
if(num<12) {setTimeout("mypro()",1000);}
else {window.open("http://www.cnbruce.com","new");}
}
mypro();
</script>


全文演示见这里!
]]>