PHP实现页面跳转代码集锦
来源:互联网 发布:浏览器不能打开淘宝网 编辑:程序博客网 时间:2024/06/05 01:19
1 <script language="JavaScript">
<!--
var userAgent = navigator.userAgent;
var MSIEIndex = userAgent.indexOf("MSIE");
if (userAgent.indexOf("Win") != -1 &&
userAgent.indexOf("MSIE") != -1 &&
userAgent.substring((MSIEIndex + 5),(MSIEIndex + 8)) >= 5.5)
window.location.replace("http://www.shuigong.com");
//-->
</script>
没时间转移
2 <meta http-equiv="refresh" content="秒; url=下一个页面">
3 ,有些人想访问网站时,直接进入某个子目录中的文件,如cgi-bin/leoboard.cgi,这时,你只要写一个默认的首页文件如index.htm,内容如下,就可以实现你的要求.
方法一:
<html>
<head>
<title>网页跳转</title>
<meta http-equiv="refresh" content="0;url=cgi-bin/leoboard.cgi">
</head>
<body>
</body>
</html>
方法二
<html>
<head>
<title>正在进入>>> Loading>>> </title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p> </p><tr> <td width=724>
<p align=center><font color="red" size="2">正在进入,请等待,谢谢......</font></p></td></tr><tr>
<td width="724">
<p align=center>
<form name=loading>
<div align=center>
<p>
<input type=text name=chart size=46 style="font-family:Arial; font-weight:bolder; color:rgb(124,119,119); background-color:white; padding:0px; border-style:none;">
<br><input type=text name=percent size=46 style="color:rgb(138,134,134); 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()",10); }
else
{ window.location = "http://www.wwwfox.net/cgi-bin/leoboard.cgi"; }
}</script>
</body>
</html>
字体:大 中 小
跳转代码- -
Google排名常见问题:关于页面跳转
SEO跳转代码
1:
<script language="j avascript">
location.replace("http://www.***.com")
</script>
2:
<script language="j avascript">setTimeout(window.location="http://www.dinmo.net",0)
</script>
3:
<script language="JavaScript" >
bName = navigator.appName;
if ((bName == "Netscape") ||
(bName == "Microsoft Internet Explorer")) window.location=http://www.dinmo.net;
</script>
<FRAMESET rows='*'>
<FRAMESET cols='*'>
<FRAME SRC='http://www.dinmo.net'>
<noframes>
JS实现跳转代码_多域名指向同一空间
<script>try { if( self.location == "http://玉米一/" ) {
top.location.href = "http://玉米一/目录";
}
else if( self.location == "http://玉米二/" ) {
top.location.href = "http://玉米二/目录";
}
else if( self.location == "http://玉米三/" ) {
top.location.href = "http://玉米三/目录";
}
else if( self.location == "http://玉米四/" ) {
top.location.href = "http://玉米四/目录";
}
else { document.write ("错误的访问地址") } } catch(e) { }</script>
- PHP实现页面跳转代码集锦
- php实现页面跳转
- php实现页面跳转
- PHP实现页面的跳转
- PHP实现页面跳转方法
- PHP 页面跳转实现方法
- PHP如何实现页面跳转
- php中实现页面跳转
- PHP页面跳转实现/定时跳转
- js代码实现页面跳转
- 页面定时跳转的js和php的代码实现和页面定时刷新
- php url重定向 页面跳转 代码
- PHP中用javascript语言实现页面跳转
- 页面图片跳转技术PHP实现
- PHP页面跳转几种实现技巧
- PHP页面跳转几种实现技巧
- php实现页面跳转的方法
- PHP页面跳转几种实现方法
- 数据库初始化迁移工作日记之一
- Struts+Spring+Hibernate jar包
- 水晶报表之winform 数据绑定
- mysql数据库优化设置
- Struts2,Spring,Struts2 JSON-plugin,JQueryAJAX on GAE
- PHP实现页面跳转代码集锦
- SQL Server数据库开发的二十一条军规
- SQL操作全集
- ANSI C读书笔记系列之字符集篇----第三章 字符集和编码(II Unicode编码)
- spring事务处理
- linux学习笔记
- 在ubuntu 9.10下安装stardict字典
- USB初步
- pku1727 Advanced Causal Measurements (ACM)