An Introduction to the Internet Explorer developer Toolbar

Source: Internet
Author: User

If you're like most web developers, when you were first learning html, you probably spent a great deal of your time playing around with your browser. the fact that you cocould simply do a "View Source" and see how an interesting web page was implemented was one of the things that helped HTML catch on so quickly. this "code sharing" is undoubtably one of the reasons the web was able to grow as quickly as it did.

Unfortunately, these days it's not so easy to take a look at the magic going on behind the scenes of the average web page. with the emphasis on usability and appearance, the previusly simple HTML has become incresingly difficult to read and these days most web pages are made up of a combination of several files and use often use as much CSS and client-side script as they do HTML. using "View Source" simply doesn' t cut it anymore. luckily Microsoft has realized this fact and is building a tool to help developers analyze these increasingly complex web documents. it's called the Internet Explorer developer toolbar. in this article I'll give you a quick introduction to this powerful new tool and examine some of it's most useful features.

Download and Installation

As I write this, the latest version of the toolbar is the Internet Explorer developer toolbar beta 3. as with all pre-release software, it may contain bugs and you shouldn't expect CT any official support from Microsoft. I 've been using it on Windows XP Pro with IE 6 and haven' t run into any problems, but that doesn't mean that you won't.

You can download the toolbar from the following link:

Http://www.microsoft.com/downloads/details.aspx? Familyid = e59c3964-672d-4511-bb3e-2d5e1db91038 & displaylang = en

On that page you'll also find Microsoft's overview of the tool which I 've got ded below for reference.

Overview

The Internet Explorer developer toolbar provides several features for fixing and understanding web pages. These features enable you:

  • Using e and modify the Document Object Model (DOM) of a Web page.
  • Locate and select specific elements on a web page through a variety of techniques.
  • Selectively disable Internet Explorer settings.
  • View HTML object class names, ID's, and details such as link paths, Tab index values, and access keys.
  • Outline tables, table cells, images, or selected tags.
  • Validate HTML, CSS, Wai, and RSS web feed links.
  • Display image dimensions, file sizes, path information, and alternate (ALT) text.
  • Immediately resize the browser window to a new resolution.
  • Selectively clear the browser cache and saved cookies. Choose from all objects or those associated with a given domain.
  • Choose direct links to W3C specification references, the Internet Explorer team weblog (blog), and other resources.
  • Display a fully Featured Design r0000to help accurately align and measure objects on your pages.
  • Find the style rules used to set specific style values on an element.
  • View the formatted and syntax colored source of HTML and CSS.

The developer toolbar can be pinned to the Internet Explorer browser window or floated separately.

This beta 3 version of the Toolbar contains functionality and stability enhancements over previous versions, including:

  • Style tracer: right mouse click on a style value for an element and select style tracer to find the style rule that is sort ting that value.
  • CSS selector matches: view a report of all style rules set and how many times they are used on the current page.
  • View Source: view the formatted and syntax colored source of the original page, currently rendered page, element or element with the styles that are waiting ting it.

Your feedback is greatly appreciated. Please visit the developer toolbar wiki on Channel 9 to enter bug reports, comments, and suggestions.

You'll need at least Windows 2000 and IE 6, but I assume that's not an issue for most developers these days. installation went off without a problem for me. it's about as simple as possible although you still need to agree to the license agreement and click "Next" about half a dozen times before you're through.

After installation was complete I still needed to manually add the toolbar's button to IE's toolbar. in IE 6, you do this by Right clicking on the toolbar and choosing "customize... ". that brings up the "mimize toolbar" dialog box which shocould have the "ie developer toolbar" button available to be added to the toolbar.

In IE 7, the process is similar, but the names have changed. After Right clicking on IE's Toolbar you choose "mimize command bar->Add or remove components... "in order to get to the" mimize toolbar "screen.

After adding the button to the toolbar, ie's Toolbar shoshould now have an icon like the one shown below.

The main window

Clicking the icon discussed above brings up the toolbar's main window. By default, the window is docked in the bottom half of IE and looks something like this.

If you prefer, you can click the icon in the upper right corner to detatch the window from IE altogether.

The heart of the program is the DOM Explorer which lets you drill down into a page's HTML and examine the different attributes and styles related to the objects on the page. so instead of wading through tons of HTML, you simply find the item in the page hierarchy and the toolbar display its properties for you. but what if you can't find the element of interest in the hierarchical tree? No problem... the toolbar let's you select a page element simply by clicking on it and then finds it for you.

While the DOM explorer is the heart and soul of the program, it also except des tons of other useful tools. I won't go into detail on all of them, but here are some quick highlights.

It shows image information, including dimensions, size, and Path:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.