[计算机]页面跳转代码大全.docVIP

  • 11
  • 0
  • 约1.25万字
  • 约 14页
  • 2018-02-16 发布于浙江
  • 举报
[计算机]页面跳转代码大全

网页跳转代码大全 一三种网页跳转代码: 如果你要在服务器端跳转,可以这样: Response.Redirect() Response.End如果你要在客户端跳转,可以这样: script language=javascript type=text/javascript window.location=http: //;; /script 如果你要让页面显示几秒钟之后跳转,可以在html代码的head/head部分加上这样的代码: meta http-equiv=refresh content=3; url= (3秒钟后自动跳转到) 以上三种是也比较常见二 几段简单的网页跳转代码 不隐藏转向之后的地址 代码一: html body form name=loading SCRIDIVT var bar=0 var line=|| var amount=|| count() function count(){ bar=bar+2 amount =amount + line document.loading.chart.value=amount document.loading.divercent.value=bar+% if (bar99) {setTimeout(count(),100);} else {window.location = 将这里改成要转入的网址;} }/SCRIDIV

文档评论(0)

1亿VIP精品文档

相关文档