如何在子菜单上使用Firefox Firebug [英] How to use Firefox Firebug on Sub-Menus

查看:72
本文介绍了如何在子菜单上使用Firefox Firebug的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在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.

Superfish 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屋!

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