O'Reilly logo

MooTools 1.3 Cookbook by Jay Larry G. Johnston

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Firebug to view the scripts included on a page

Firebug is the best way to catch our JavaScript errors; it can also give us short cuts to seeing the included JavaScript files.

Getting ready

Open a page that has one or more JavaScript files included via SCRIPT tags. The code snippets in the book include one for just this purpose, though, any of them will do.

How to do it...

Open the Firebug window and click the Script tab. The horizontal bar beneath the tab list will have a drop-down that shows the name of the URI, for instance, 09-05.html. This drop-down menu will have a list of each script that is included. Visible in the list, if viewing the scripts for 09-05.html, will be 09-05.html, mootools-1.3.0.js, and mootools-more-1.3.0.js.

Clicking ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required