求助!关于(前进,后退,保存。打印)

DawnJ 2004-09-20 10:19:25
我做了个框架网页,我在框架(TOP.htm)中插入个Flash,然后用框架(TOP.htm)中的这个flash来对框架(main.htm)进行(前进,后退,保存。打印)
...全文
176 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
riconyi 2005-04-05
  • 打赏
  • 举报
回复
DawnJ 2004-09-20
  • 打赏
  • 举报
回复
woyingjie(沃英杰)


可以保存框架里的网页吗???好象没指向
woyingjie 2004-09-20
  • 打赏
  • 举报
回复
<input type=button value=剪切 onclick="document.execCommand('Cut')">
<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
blestcc 2004-09-20
  • 打赏
  • 举报
回复
function goback(){
parent.frames[1].main.history.back();
}
function goforward(){
parent.frames[1].main.history.forward();
}
前进和后退,其中main为main.htm所在框架的名字

87,907

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧