Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Dahlia Debug-Device Browser Bar

0.00/5 (No votes)
25 Jul 2003 1  
An Internet Explorer browser bar, which acts as a pseudo-debug output device

Sample Image - dahlia.jpg

Introduction

An IE browser bar, which acts as a target for pseudo-debug messages from client scripts.

Background

In just about every web-application I develop, I end up creating some IFRAME or new window to act as a target for various debug related messages. I finally decided that this would be much easier if it was wrapped up in a browser bar.

Using the code

Copy Dahlia.dll to your favorite directory, and run regsvr32 against it. Alternatively, build the project.

Points of Interest

The code has only been tested against IE6 on WinXP

The browser-bar works by creating a property on the document's parentWindow which references the component. Scripts can then call against the component to perform actions in the browser-bar.

Included are a few files which demonstrate the browser-bar's usage. dahlia.js is a script wrapper around the document.parentWindow.debugDevice property which is assigned by the browser-bar. dahliaTest.htm is a sample HTML file which uses dahlia.js.

Other than that, the code is documented well enough to follow, but if you have any questions, ask.

History

  • 7/20/2003 - Submitted

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here