Firefox Firebug使用文档

Firefox Firebug使用文档

ID:40548945

大小:186.00 KB

页数:10页

时间:2019-08-04

Firefox Firebug使用文档_第1页
Firefox Firebug使用文档_第2页
Firefox Firebug使用文档_第3页
Firefox Firebug使用文档_第4页
Firefox Firebug使用文档_第5页
资源描述:

《Firefox Firebug使用文档》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、FirebugDocumentCOMMANDLINEAPI3$(id)3$$(selector)3$x(xpath)3dir(object)3dirxml(node)3cd(window)3clear()3inspect(object[,tabName])3keys(object)3values(object)3debug(fn)4undebug(fn)4monitor(fn)4unmonitor(fn)4monitorEvents(object[,types])4unmonitorEvents(object[,types])4profile([title])4profi

2、leEnd()4CONSOLEAPI4console.log(object[,object,...])4console.debug(object[,object,...])5console.info(object[,object,...])5console.warn(object[,object,...])5console.error(object[,object,...])5console.assert(expression[,object,...])5console.dir(object)5console.dirxml(node)6console.trace()6co

3、nsole.group(object[,object,...])6console.groupCollapsed(object[,object,...])6console.groupEnd()6console.time(name)6console.timeEnd(name)6console.profile([title])6console.profileEnd()6console.count([title])6ImplementationNotes7Firebug1.4710/10Firebug1.37Firebug1.27Firebug1.1andearlier7KEYB

4、OARDANDMOUSESHORTCUTS7Global7HTMLTab7HTMLEditor8HTMLInspectMode8ScriptTab8DOMTab8DOMandWatchEditor9CSSTab9CSSEditor9LayoutTab9LayoutEditor9CommandLine(small)1010/10CommandLineAPITheFirebugcommandlineprovidesthesespecialfunctionsforyourconvenience:$(id)Returnsasingleelementwiththegivenid.$

5、$(selector)ReturnsanarrayofelementsthatmatchthegivenCSSselector.$x(xpath)ReturnsanarrayofelementsthatmatchthegivenXPathexpression.dir(object)Printsaninteractivelistingofallpropertiesoftheobject.ThislooksidenticaltotheviewthatyouwouldseeintheDOMtab.dirxml(node)PrintstheXMLsourcetreeofanHTM

6、LorXMLelement.ThislooksidenticaltotheviewthatyouwouldseeintheHTMLtab.YoucanclickonanynodetoinspectitintheHTMLtab.cd(window)Bydefault,commandlineexpressionsarerelativetothetop-levelwindowofthepage.cd()allowsyoutousethewindowofaframeinthepageinstead.clear()Clearstheconsole.inspect(object[,t

7、abName])Inspectsanobjectinthemostsuitabletab,orthetabidentifiedbytheoptionalargumenttabName.Theavailabletabnamesare"html","css","script",and"dom".keys(object)Returnsanarraycontainingthenamesofallpropertiesoftheobject.values(object)Returnsanarraycontainingthevaluesof

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。