function goback(){
parent.frames[1].main.history.back();
}
function goforward(){
parent.frames[1].main.history.forward();
}
前进和后退,其中main为main.htm所在框架的名字
parent.frames[1].main.history.back();
}
function goforward(){
parent.frames[1].main.history.forward();
}
前进和后退,其中main为main.htm所在框架的名字
解决方案 »
- nodeType 2属性节点是什么意思 怎么测不出来
- 函数嵌套
- 问个问题 关于iframe的
- 如何编写批量效果的代码,急用!
- 一个链接第一次是广告页面,第二次点击才是正式页面如何实现
- 最近很少关注CSDN,推荐自己的网站,顺便分享google search api
- Web打印组件jatoolsPrinter (转贴)
- 如何通过JavaScript清IE的缓存?急,急,急,急,急,急,急,急,急,急!!!
- 急请教:创建TreeView对象。
- 在线编辑器实现的原理是什么?
- 巨难的问题:太穷了(只有1分了):我要最好是一次查询得到以下数据结果,(尽管我知道不可能,但希望越少越好),如何设计表结构,谢谢.
- 如何访问iframe中的内容,在线等。
<input type=button value=拷贝 onclick="document.execCommand('Copy')">
<input type=button value=粘贴 onclick="document.execCommand('Paste')">
<INPUT type=button value=打印 onclick="document.execCommand('Print')">
<input type=button value=全选 onclick="document.execCommand('SelectAll')">
<input type=button value=撤消 onclick="document.execCommand('Undo')">
<input type=button value=删除 onclick="document.execCommand('Delete')">
<input type=button value=黑体 onclick="document.execCommand('Bold')">
<input type=button value=斜体 onclick="document.execCommand('Italic')">
<input type=button value=下划线 onclick="document.execCommand('Underline')">
<input type=button value=停止 onclick="document.execCommand('stop')">
<input type=button value=保存 onclick="document.execCommand('SaveAs')">
<input type=button value=另存为 onclick="document.execCommand('Saveas',false,'c:\\test.htm')">
<input type=button value=字体 onclick="document.execCommand('FontName',false,fn)">
<input type=button value=字体大小 onclick="document.execCommand('FontSize',false,fs)">
<input type=button value=刷新 onclick="document.execCommand('refresh',false,0)">
<input type=button value=刷新 onclick="window.location.reload()">
<input type=button value=前进 onclick="window.history.go(1)">
<input type=button value=后退 onclick="window.history.go(-1)">
<input type=button value=前进 onclick="window.history.forward()">
<input type=button value=后退 onclick="window.history.back()">
=====================
zt
可以保存框架里的网页吗???好象没指向