管理杂谈OA答疑ERP答疑教程搜索

页面转向代码大全


内容摘要:在网站留言板、评论系统、论坛、后台等页面,当用户发表完留言或帖子时,需要自动跳转到某个指定页面,这时就要用到页面转向代码了。在html、javascript、asp、php都有其不同的转向代码。

1.html
在区域加入
代码:

2. javascript
(1)代码:

(2) 代码: 稍候。。。



(3) 带进度条的页面跳转代码
代码:



新视听资源共享论坛



loading... style="padding-right: 0px; padding-left: 0px; font-weight: bolder; padding-bottom: 0px; color: #0066ff; border-top-style: none; padding-top: 0px; font-family: arial; border-right-style: none; border-left-style: none; background-color: white; border-bottom-style: none"
size=46 name=chart>
style="border-right: medium none; border-top: medium none; border-left: medium none; color: #0066ff; border-bottom: medium none; text-align: center"
size=47 name=percent>




3、asp
用redirect方法
<%
response.redirect "http://mini88s.com"
%>
或者
<%
response.redirect "default.asp"
%>
4、php
一般是用 header函数重定向
header("location:http://mini88s.com");
?>
或者


更多精彩文章浏览...
点击右上角图标分享到朋友圈
官方网站:http://www.clicksun.cn
咨询热线:400-186-1886
服务邮箱:service@clicksun.cn