网站首页  汉语字词  英语词汇  考试资料  写作素材  旧版资料

请输入您要查询的范文:

 

标题 html页面实现过两秒跳转至其他页面的方法
范文
    html页面如何实现过两秒跳转至其他页面,在本文主要是通过refresh及URL两个属性实现,具体示例代码如下,感兴趣的朋友可以参考下
    代码如下:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    </head>
    <body>
    <if condition="$id eq 1">
    <meta http-equiv="refresh" content="2; URL=__APP__/index.php/Select/chaxun">
    {$rows}
    <font color="#FF0000">两秒后自动跳转!</font>
    </if>
    <foreach name="rows" item="val">
    {$val.id} ------ {$val.name} 
    <hr />
    <a href="__APP__/index.php/Select/chaxun">点击返回继续查询!</a>
    </foreach>
    </body>
    </html>
随便看

 

在线学习网范文大全提供好词好句、学习总结、工作总结、演讲稿等写作素材及范文模板,是学习及工作的有利工具。

 

Copyright © 2002-2024 cuapp.net All Rights Reserved
更新时间:2025/5/21 1:05:52