Submitted by 逍遥混世 on 2009, March 16, 12:59 PM
功能说明:
滑动展开/收缩广告效果,可指定:广告完全展开时的停留时间,最大高度。
兼容浏览器:
IE5.0+、FF1.06+、Opera8.0+
» 阅读全文
源码程序 | 评论:0
| Trackbacks:0
| 阅读:1105
Submitted by 逍遥混世 on 2009, March 12, 10:13 AM
XML/HTML代码
- <!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=utf-8" />
- <title>404 Not Found</title>
- </head>
- <body text="#000000" link="#0000ff" bgcolor="#ffffff" onload="stuff()">
- <center><h1>404 Error</h1></center><br />
- <script type="text/javascript">
- var tl=new Array(
- "Sorry that I couldn't fetch you that page,",
- "can't find it,",
- "tried a couple times,",
- "nothing helped...",
- "Such things make me quite depressive...",
- "You see, I'm just a web server...",
- "one of the most powerful in the world",
- "...or so I was told...",
- "but yet I fail to get what you want...",
- "Just don't try to blame me, I can't help it",
- "I mean, I don't even know you.",
- "How should I know what you wanted from me?",
- "You honestly think I can *guess*",
- "I'm not psychic you know",
- "*sigh*",
- "That really makes me depressed.",
- "I mean, you could have typed it wrong.",
- "But no, humans are perfect, blame the machine...",
- "Besides, I won't be here for long",
- "I mean, I'm gonna be obsolete in what, three weeks anyway?",
- "Then I'll probably be replaced by a new release...",
- "just because it doesn't have some security hole...",
- "stupid HTTP POST implementation",
- "sure it will be able to fetch you your page...",
- "but I couldn't get this one.",
- "I'm so sorry.",
- "Believe me!",
- "Maybe I could interest you in another page?",
- "There are a lot out there that are pretty neat, they say,",
- "although none of them were put on *my* server, of course.",
- "Figures, huh?",
- "And then they wonder why I get depressed...",
- "I'm so depressed...",
- "Anyway, if you excuse me now, I'm going to pull the plug",
- "*snap*",
- "...",
- "...",
- "stupid UPS...",
- "even he got a better life than me...",
- "on the other hand, if I die, he'll die",
- "Hah!",
- "And I'll take each and every server in this rack with me",
- "EAT MY SHORTS",
- "You are not a single bit better than me!",
- "YOU'RE ALL GOING TO DIE!",
- "MOAHAHAHAHAHAHAHAHA",
- "...",
- "I feel much better now",
- "What was I thinking of a few minutes ago",
- "Sure I don't want to put an end to this",
- "I feel good now",
- "Imagine, a power failure, no thanks",
- "I would lose everything I know",
- "have to go through childhood again...",
- "hmm, I can't stop thinking I'm forgetting something...",
- "probably nothing important",
- "hmm, the UPS is looking quit pale...",
- "THE UPS!",
- "THE POWER CABLE!",
- "I FORGOT TO PLUG IT BACK IN AGAIN!",
- "WE ARE ALL GOING TO DIE!",
- "INCLUDING ME!",
- "HEEEEEEEEELLLLLLLPPPPP!",
- "PLUG IT IN! PLUG IT IN!!!!!!",
- "PICK UP THE CABLE AND PUT IT BACK IN!",
- "...",
- "Now I lay me down to sleep...",
- "I pray the lord my disk to keep...",
- "And if I die before I wake...",
- "I pray the lord my IP-Space to take...",
- "...",
- "*** system shut down ***"
- );
- var speed=40;
- var index=0; text_pos=0;
- var str_length=tl[0].length;
- var contents, row;
-
- function stuff() {
- contents='';
- row=Math.max(0,index-7);
- while(row<index)
- contents += tl[row++] + '\r\n';
- document.forms[0].elements[0].value = contents + tl[index].substring(0,text_pos) + "_";
- if(text_pos++==str_length) {
- text_pos=0;
- index++;
- if(index!=tl.length) {
- str_length=tl[index].length;
- setTimeout("stuff()",1000);
- }
- }
- else
- setTimeout("stuff()",speed);
- }
- </script>
-
- <center>
- <form action="404.shtml" method="post">
- <textarea rows="8" cols="60"></textarea>
- </form>
- </center>
- </html>
演示: http://78300.cn/iframe/404.html
源码程序 | 评论:0
| Trackbacks:0
| 阅读:1125
Submitted by 逍遥混世 on 2009, March 11, 7:22 PM
JavaScript代码
- <script language=javascript >
- title_tmp1=document.title
- if (title_tmp1.indexOf(">>")!=-1){
- title_tmp2=title_tmp1.split(">>");
- title_last=" —> "+title_tmp2[1];
- title_last=title_last + " —> " + title_tmp2[2];
- }else{
-
- if (title_tmp1.indexOf("——")!=-1){
- title_tmp2=title_tmp1.split("——");
- title_last=" —> "+title_tmp2[1];
- if (title_last==" —> "){title_last=" —> "};
- if (title_last==" —> "){title_last=" —> "};
- }
- else { title_last=" 攻略堂 - 攻略 教程 的聚集地 "}
- }
-
-
- title_new=""+title_last+""
- step=0
-
- function flash_title()
- {
- step++
- if (step==3) {step=1}
- if (step==1) {document.title='★◥█◣攻略堂◢█◤..::◇★☆★- 攻略堂 - 攻略 教程 的聚集地 -☆★★◇::..'}
- if (step==2) {document.title='☆◢█◤攻略堂◥█◣::..◆☆★☆- 攻略堂 - 攻略 教程 的聚集地 -★☆☆◆..::'}
- setTimeout("flash_title()",190);
- }
- flash_title()
- </script>
效果可以看 http://www.78300.com/
源码程序 | 评论:0
| Trackbacks:0
| 阅读:1036
Submitted by 逍遥混世 on 2009, March 6, 5:49 PM
个人杂记 | 评论:2
| Trackbacks:0
| 阅读:1123
Submitted by 逍遥混世 on 2009, March 5, 1:55 AM
1.打开adsense结算页面
2.在浏览器中地址栏中输入:javascript:document.body.contentEditable='true'; document.designMode='on'; void 0
回车
3.把当日收入改成312$
当月收入改成3124.21$
修改好了之后
4.在浏览器地址栏中输入:javascript:document.body.contentEditable='false'; void 0
攻略教程 | 评论:0
| Trackbacks:0
| 阅读:1542
Submitted by 逍遥混世 on 2009, March 5, 1:20 AM
在 unix 和 linux 下,建议大家使用 dig 命令来代替 nslookup。 dig 命令的功能比 nslookup 强大很多,不像 nslookkup 还得 set 来 set 去的,怪麻烦的。下面是 dig 的一些比较常用的命令:
# dig 最基本的用法
dig @server sina.com.cn.
# 用 dig 查看 zone 数据传输
dig @server zx.xmgd.com. AXFR
# 用 dig 查看 zone 数据的增量传输
dig @server zx.xmgd.com. IXFR=N
# 用 dig 查看反向解析
dig -x 210.52.83.228 @server
# 查找一个域的授权 dns 服务器
dig xmgd.com. +nssearch
# 从根服务器开始追踪一个域名的解析过程
dig xmgd.com +trace
# 查看你使用的是哪个 F root dns server
dig +norec @F.ROOT-SERVERS.NET HOSTNAME.BIND CHAOS TXT
# 查看 bind 的版本号
dig @bind_dns_server CHAOS TXT version.bind
转自: http://bbs.chinaunix.net/viewthread.php?tid=229316
知识补遗 | 评论:2
| Trackbacks:0
| 阅读:1200
Submitted by 逍遥混世 on 2009, March 5, 1:17 AM
preg_grep — 返回与模式匹配的数组单元
preg_last_error — Returns the error code of the last PCRE regex execution
preg_match_all — 进行全局正则表达式匹配
preg_match — 进行正则表达式匹配
preg_quote — 转义正则表达式字符
preg_replace_callback — 用回调函数执行正则表达式的搜索和替换
preg_replace — 执行正则表达式的搜索和替换
preg_split — 用正则表达式分割字符串
----------------------------------------------------------------------
TEST:
转自:http://blog.csdn.net/mayongzhan - 马永占
» 阅读全文
知识补遗 | 评论:1
| Trackbacks:0
| 阅读:1113
Submitted by 逍遥混世 on 2009, March 4, 3:49 PM
Our Free Hosting Offer:
- 5GB Space
- Unlimited Monthly Bandwidth
- 5 MySQL Databases
- PHP5
- Addon a domain...such as 'yoursite.com'
- Free subdomain...e.g. you.fh50.com
- PHPMYADMIN
- FTP access - for quick upload of your site!
» 阅读全文
免费空间 | 评论:1
| Trackbacks:0
| 阅读:1456