#3. DOM panel It shows all default DOM properties, functions, constants, the user-defined properties and user-defined function.This panel is not very helpful (at least for me) except one thing. If you wanna find out how many function or properties included your scripts, you may probably want to use this panel to find out about that. Let’s write one short script as below in plain HTML file.
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(248, 248, 248) !important]04 | <title>Untitled Page</title> |
05 | <script type="text/javascript"> |
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(248, 248, 248) !important]08 | this.Start = function(){ |
09 | console.log("Please put my car a lit bit!"); |
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(248, 248, 248) !important]
[backcolor=rgb(248, 248, 248) !important]
And then, save it as htm file. Open it in Firefox and then check the DOM tab. You will see the result as the picture below. “Car()” is a function that you just wrote in JS, isn’t it? Okay. That’s all about DOM tab. This is the feature what DOM tab has so far…. My tutorials for Firebug is ended here. I hope that you all do enjoy reading all of my tutorials. Actually, I’m not teaching you about Firebug. I’m just sharing the way I understand about Firebug and I believe that you found it useful. Any feedback are welcome as usual. Feel free to let me know if you have any suggestion or comment. One more thing is that Yahoo is releasing the Firefox addon called YSlow integreated with Firebug. This tool is also a performance measuring tool like Net panel. YSlow used to determine the performance of webpage based on 13 rules. I’m currently learning about those rules and doing some experiments. I will post about this in details very soon.. Please keep on watching my blog…. Thanks for reading. Have a nice day!!
Michael Sync
Hey! don’t forget to give the feedback about my tutorials.. Here is the index.. Thanks.. Firebug Tutorials
Firebug Tutorial : Section 4 – Net, CSS and DOM tabs
|