实现网页中增加刷新按钮、链接的方法 搜集
2012-09-13 11:02
274 查看
最近用到一个技术,实现在网页中添加“刷新”超链接的方法,在网上搜集了一些,但是都是按钮形式的,悲剧,经过尝试,发现稍加改动,放在超链接上效果甚好!
搜集:
小测试:
投石引玉...
搜集:
<input type=button value=刷新 onclick="history.go(0)"> <input type=button value=刷新 onclick="location.reload()"> <input type=button value=刷新 onclick="location=location"> <input type=button value=刷新 onclick="location.assign(location)"> <input type=button value=刷新 onclick="document.execCommand(@#Refresh@#)"> <input type=button value=刷新 onclick="window.navigate(location)"> <input type=button value=刷新 onclick="location.replace(location)"> <input type=button value=刷新 onclick="window.open(@#自身的文件@#,@#_self@#)"> <input type=button value=刷新 onClick=document.all.WebBrowser.ExecWB(22,1)>
小测试:
<a href="#" onclick="history.go(0)"><font size=3 color=white>刷新</font></a>
投石引玉...
相关文章推荐
- 实现网页中增加刷新按钮、链接的方法
- 实现网页中按钮刷新的N种方法
- flex4 datagrid增加链接按钮的方法实现
- 实现网页中按钮刷新的N种方法
- 实现页面中按钮刷新的N种方法
- UIWebView中视频点击链接直接全屏播放而不是点击一个播放按钮的实现方法
- javascript实现点击按钮弹出一个可关闭层窗口同时网页背景变灰的方法
- CSS实例(六):实现网页固定大小三态图形按钮简单方法
- Wofav网页收藏&分享按钮的使用方法(增加网站的流量)
- JavaScript实现点击按钮切换网页背景色的方法
- displaytag的使用方法(用于数据表格的显示和功能控制) tabledecorator实现链接按钮
- javascript实现点击单选按钮链接转向对应网址的方法
- java servlet 几种页面跳转的方法,需要的朋友可以参考一下 在访问网页的过程中,页面自动刷新、跳转和重定向是经常用到的,这里就说说在Java中是如何实现这些功能的! 一、页面自动刷新
- JS实现鼠标滑过链接改变网页背景颜色的方法
- js实现带关闭按钮始终显示在网页最底部工具条的方法
- JS实现点击按钮后框架内载入不同网页的方法
- JS实现点击按钮自动增加一个单元格的方法
- JS实现点击按钮后框架内载入不同网页的方法
- 禁用IE的后退按钮|显示网页已过期|几种语言的实现方法|c#|javascript|html