在鼠标悬停在萤火虫后获取HTML代码 [英] Get HTML code after mouseover in firebug
问题描述
是否有可能在鼠标位于对象上时冻结html,然后检查萤火虫中的更改?
<请注意,它不是改变的HTML属性,而是改变的内容。在鼠标悬停后添加另一个
div
。所以,Style选项卡不能监视它。例如,在此链接中: http ://demo.virtuemart.net/index.php/2012-01-13-09-33-20/product-details-layout 当鼠标移到产品图片上时会发生什么?如果您使用的是Chrome,则可以在打开开发人员工具时按F8键。
F8在下一个脚本执行时暂停。因此,如果您悬停,然后按F8键,然后将鼠标移到元素内部,您可以右键单击 - >检查它。
There is an HTML object that changes after mouseover. I need to inspect the changes and copy it's code, but with firebug I cannot do that (the mouse can be only in one place).
Is it possible to freeze the html while the mouse is on an object and then check the changes in firebug?
Note that, it is not the HTML attribute that changes, it is the content that changes. Another div
is added after mouseover. So, it cannot be monitored by Style tab. For example in this link: http://demo.virtuemart.net/index.php/2012-01-13-09-33-20/product-details-layout what happens when mouse is over the product image?
If you are using Chrome you can press F8 while having the developer tools opened. F8 pauses on next script execution. So if you hover, then press F8, then move your mouse a bit inside the element, you will be able to rightclick -> inspect it.
这篇关于在鼠标悬停在萤火虫后获取HTML代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!