|
| |
精品推荐 |
 |
|
| |
|
|
|
|
打造自已的域名转向
|
日期:2007年3月10日 作者:清风网络学院 查看:[大字体
中字体 小字体]
|
个人主页免费用户常常在网上寻找域名转向,但是你有没有想过打造自己的域名转向,且看我一一道来! 首先,你要去申请一个免费空间,这样的空间很多,然后把以下的代码保存为你的主页文件即可,主页文件一般为:index.html 、index.htm 、default.html 、default.htm 、index.asp 、index.php 、index.cgi ...... 等等(一般你去申请免费空间空间时,空间提供商都会有help进行说明)。然后你就可通过这个空间达到转向的目的。要注意的是:保存为你的主页文件之前,要将以下有“将这里改成要转入的网址”的地方改成你自已的转向后的URL 。 ------------------------------------------------------------------------------ 不隐藏转向之后的地址 代码一 ------------------------------------------------------------------------------ <html> <head> <meta http-equiv="Content-Language" content="zh-cn"> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"> <title></title> </head> <body> <form name=loading> <P align=center><FONT face=Arial color=#0066ff size=2>loading...</FONT> <INPUT style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bolder; PADDING-BOTTOM: 0px; COLOR: #0066ff; BORDER-TOP-style: none; PADDING-TOP: 0px; FONT-FAMILY: Arial; BORDER-RIGHT-style: none; BORDER-LEFT-style: none; BACKGROUND-COLOR: white; BORDER-BOTTOM-style: none" size=46 name=chart> <BR><INPUT style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; COLOR: #0066ff; BORDER-BOTTOM: medium none; TEXT-ALIGN: center" size=47 name=percent> <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 = "将这里改成要转入的网址";} }</SCRIPT> </P></form> </body> </html> ------------------------------------------------------------------------------- 不隐藏转向之后的地址 代码二 ------------------------------------------------------------------------------- <html> <body> <script language="javascript"> <!-- function goToURL() { //v2.0
上一篇:以MDaemon为例解释邮件服务器的安全设置
下一篇:其他免费资源介绍
|
| 打造自已的域名转向 相关文章: |
|
|
|
| 打造自已的域名转向 相关软件: |
|
|
|
|