
http-equiv="Refresh"
Content="5URL=
http://1314.qq.com">以上的数字5是五秒跳转。url是跳转的链接。希望你也是玫瑰庄园的玩家。大家一起交流经验哈。
下面这个方法最简单:1、在网页<html><head>后面加上以下代码,
<meta http-equiv="refresh" content="5url=http://XXX.COM/" />
2、其中5秒可以设置成你想要的时间,可以是0秒。http://XXX.COM/为你想要跳转的网站
1:定时器····
<html>
<head>
<script>
/*
setTimeout 设置过期时间
setTimeout(时间到了之后要执行的行为,什么时间 毫秒 开始执行)
setInterval 设置中断时间
setInterval(时间到了之后要执行的行为 , 间隔多长时间再执行 )
*/
</html>
····
2:一闪一闪亮晶晶
····
html>
<head>
<style>
#container{
width: 400px
height: 400px
border: 1px solid yellowgreen
background-color: black
position: relative
}
</html>
····
3:定时跳转网页
····
<html>
<head>
<style>
#box{
width: 1300px
height: 100px
line-height: 100px
border: 1px solid black
color: yellowgreen
font: 29/30px "simsun"
text-align: center
}
</style>
</html>
····
4:d窗
····
<html>
<head>
<script>
alert("我是d窗")
window.alert("全写的窗口d窗")
</html>
····
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)