在iframe中打开文档 [英] open document in iframe
本文介绍了在iframe中打开文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在制作文档查看器.因为我想在iframe中打开任何文档,所以用户只能看到它.
因此在iframe中使用了哪种代码来显示文档.
请帮帮我..
问候....
Mitesh
i am making a document viewer. in that i want to open any document in iframe,so user can just see it.
so which code is used in iframe for display a document.
Please help me..
Regards....
Mitesh
推荐答案
参考此网站,您将找到您的要求.. ^ ]
refer this website you will find out your requirements..http://www.forumtopics.com/busobj/viewtopic.php?t=154336&sid=8293f4044712564c80259731aa2fed62[^]
<iframe name="2" width="99%" height="800px" src=""></iframe>
在
in
src="source page"
中,编写要显示的源页面.
write your source page which you want to display.
<html>
<body>
<iframe src="your document">
</iframe>
</body>
</html>
这篇关于在iframe中打开文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文