Why can't my code jump_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:14:05
Original
890 people have browsed it





正在进入


 
  正在进入,请稍等...
       高血压吃什么好
   
  
   
  <script>   <br> var bar=0   <br> var line="||"   <br> var amount="||"   <br> count()   <br> function count(){   <br> bar=bar 2   <br> amount =amount   line   <br> document.loading.chart.value=amount   <br> document.loading.percent.value=bar "%"   <br> if (bar<99)   <br /> {setTimeout("count()",100);}   <br /> else   <br /> {window.location = "http://www.jxy120.com";}   <br /> }</script> 
 

 
 
 如果您的浏览器不支持跳转,请点这里.






回复讨论(解决方案)

可以跳转的

为什么不用浏览器标准跳转呢?

<html xmlns="http://www.w3.org/1999/xhtml"><head><title>跳转中</title><meta http-equiv="refresh" content="0;url=http://www.jxy120.com"/><meta http-equiv="Content-Type" content="application/xhtml+xml;charset=utf-8"/></head><body><span>正在跳转。。。</span></p><span><a href="http://www.jxy120.com">点击直接进入</a></span><br/></body></html>
Copy after login

http-equiv="refresh" w3c标准,单位秒

<html xmlns="http://www.w3.org/1999/xhtml"><head><title>跳转中</title><meta http-equiv="refresh" content="1;url=http://www.jxy120.com"/><meta http-equiv="Content-Type" content="application/xhtml+xml;charset=utf-8"/></head><body><span>正在跳转。。。</span></p><span><a href="http://www.jxy120.com">点击直接进入</a></span><br/></body></html>
Copy after login

可以跳转的
我浏览器的事情,代码没有问题,谢了

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!