User Guide

172 Chapter 12: Workspace
Results window functions
Results window functions let you create a stand-alone window that displays columns of formatted
data, or you can interact with the built-in windows of the Results panel group.
Creating a Stand-alone Results window
These functions create custom windows that are similar to the output from the JavaScript
Debugger window.
dreamweaver.createResultsWindow()
Availability
Dreamweaver 4.
Description
Creates a new Results window and returns a JavaScript object reference to the window.
Arguments
strName
, arrColumns
The strName argument is the string to use for the windows title.
The arrColumns argument is an array of column names to use in the list control.
Returns
An object reference to the created window.
dreamweaver.showResults()
Availability
Dreamweaver MX 2004.
Description
Opens the specified results floating panel and selects the item.
Note: This function is supported only in the Validation, Target Browser Check, and Site Reports
windows of the Results floating panel.
Arguments
floaterName, floaterIndex
The floaterName argument is a string that specifies the results floating panel to open. Valid
values are '
validation', 'btc', or 'reports'.
The floaterIndex argument is a number or string. Use a number to specify the index of an
item to select in the Results panel. Use a string to specify the URL of a document. If you
specify a URL, the function selects the first visible item for that document.
Returns
Nothing.
000_DW_API_Print.book Page 172 Wednesday, August 20, 2003 9:14 AM