Listing 2: Function that Displays the Context-Sensitive Help for the File Download Box
function ShowHelp7()
{
var HelpMessage = "
This represents context sensitive Help
" +
"for the File Download Box.
";
// ******* BEGIN CALLOUT A *******
var oPopup = window.createPopup();
var oPopupBody = oPopup.document.body;
// Can use hex color codes (e.g., "#000080" which is navy).
oPopupBody.style.backgroundColor = "teal";
// Can use hex color codes (e.g., "#FFFAFA" which is whitesmoke).
oPopupBody.style.color ="white";
oPopupBody.style.border = "solid black 1px";
oPopupBody.innerHTML = HelpMessage;
// Specifies screen coordinates (left, top left, width, height).
oPopup.show(370,3,455,100,document.body);
// ******* END CALLOUT A *******
}