摘要: < script>setTimeout("location.href='url'",2000)< /script> < meta http-equiv="refresh" content="300; url=target.html"> 用window.location.href方法二: <script type="text/javascript"> var secs = 30; //6为倒计时秒数 for (i = 0; i <= secs; i 阅读全文
posted @ 2012-11-12 21:48 ishibin 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 实现效果:点击左侧菜单栏,右侧的iframe显示相应页面,并根据相应页面的高度自适应iframe的高度。兼容测试:ie6.0/chrom/firefox <ul style=" float:left; width:200px; background:red; position:fixed;"> <li><a href="main.aspx" target="frame_content">菜单一</a></li> <li><a href="main2 阅读全文
posted @ 2012-11-12 12:20 ishibin 阅读(546) 评论(0) 推荐(0) 编辑