如何在子菜单上使用Firefox Firebug [英] How to use Firefox Firebug on Sub-Menus
问题描述
如何在Superfish v1.4.8垂直菜单"示例上使用Firefox Firebug,但在子菜单而非顶部菜单上使用.
我基本上希望能够将Firebug冻结在子菜单中进行处理,但不确定如何处理.
谢谢.
您可以在菜单的javascript处理代码中设置一个断点,以在执行任何鼠标移出或隐藏菜单"类型的代码之前中止处理.会使菜单保持打开状态,供您检查.您可以通过Firebug中的脚本"标签,然后右键单击要中断的代码行来执行此操作.
How to use Firefox Firebug on Superfish v1.4.8 Vertical Menu sample but on the sub-menus not the top menu.
I basically want to be able to freeze Firebug on a sub-menu selection to process but unsure how to.
Thanks.
You can set a breakpoint within the menu's javascript handling code to abort processing before any of the mouse-out or "hide the menu" type code is executed, which would leave the menu in the open state for you to inspect. You do that via the 'Script' tab in Firebug and right-clicking on the code line(s) you wish to break on.
这篇关于如何在子菜单上使用Firefox Firebug的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!