当前位置:首页 > 常见问题 > 正文内容

常用的三种静态网页,动态网页跳转代码

2022-09-19常见问题2193

有时我们出钱在别人网站上挂自己的促销活动连接地址,但是做了一段时间后需要更换新的连接地址。我们又无法联系上广告商家时,那我们该如何操作?下面就由(你的鱼)小编为你推荐常用的三种静态网页,动态网页跳转代码


第一种属于直接跳转代码:


<html> 

<head> 

<meta http-equiv="Content-Language" content="zh-CN"> 

<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"> 

<meta http-equiv="refresh" content="0.1;url= https://www.beianidc.com/act/"> 

<title></title> 

</head> 

<body> 

</body> 

</html>


src=http___mmbiz.qpic.cn_mmbiz_png_cuRAiaJ6Nttu2F7bBU2g7iaic4Omm1FK0jQgoUgSxP4fhAoxfcnXGBjvM7WzOD83kmYbDmYwMfIFlw8iaOYBzG7SLg_0_wx_fmt=png&refer=http___mmbiz.qpic.webp


第二种属于带有百分比时间倒计时跳转:


<html> 

<head> 

<meta http-equiv="Content-Type" content="text/html; charset=gb2312"> 

<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 = "https://www.beianidc.com/act/ ";}   

}</script>  

</p>  

</form>  

<p align="center"> 如果您的浏览器不支持跳转,<a style="text-decoration: none" href=" https://www.beianidc.com/act/ "><font color="#FF0000">请点这里</font></a>.</p> 

</body> 

</html>


第三种属于JS跳转,和第一种相差不大


<html><head><title>稍候。。。</title></head> 

<body> 

<script language='javascript'>document.location = ' https://www.beianidc.com/act/  '</script> 

</body> 

</html>


把自己想用的代码复制其中一种出来粘贴到记事本中,再把记事本另保存或者改尾椎为index.html或者index.asp名即可,以上就是(你的鱼)小编为大家分享的常用的三种静态网页,动态网页跳转代码全文。如果你有什么不懂的可以咨询(你的鱼)哟,其次(你的鱼)欢迎你来投稿。投稿邮箱nideyu#nideyu.com,请把#改为@

申请办理注意事项:

1、下单时请务必确保办卡人、收件人姓名一致,身份证号码、手机号码正确,切勿写大致范围,勿填菜鸟驿站,否则无法配送

2、手机卡仅限本人领取认证激活,禁止转售、帮助他人代替实名制等违法犯罪行为

3、所有的卡请按照运营商要求首充话费激活,否则流量不到账!

本文链接:http://www.nideyu.com/post/41.html

分享给朋友: