如何拍摄iframe的截屏 [英] How to take screen shot of an iframe

查看:576
本文介绍了如何拍摄iframe的截屏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一个div中有一个iframe ..并且在按钮上单击我必须捕获那个iframe的屏幕截图。我曾尝试过html2canvus它正在使用div。但是,如果我在那个div中放置一个iframe它不工作......我经历了几个网站,但没有找到合适的ans ...可以任何身体帮助....

Within a div there is an iframe.. and on a button click i have to capture the screen shot of that iframe.I had tried html2canvus bt its working with the div. but if i place an iframe within that div its not working...I went through several sites but didn't find the proper ans...can any body help....

推荐答案

在Firefox中,您只需右键单击iframe,然后在上下文菜单中查找仅显示此框架之类的内容。这将只为您提供I帧的上下文,然后您可以轻松提取屏幕截图。否则你只需要一些绘图程序来选择你想要的东西。



祝你好运!
In Firefox you can simply right-click on the iframe and in the context menu look for something like "only show this frame". This will give you only the context of the I frame and you can then easily extract a screenshot. Otherwise you just need some drawing program to select only what you want.

Good luck!


这篇关于如何拍摄iframe的截屏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆