XP Task Pane

Really simple name, isn't it?

Features

This program makes a XP task pane like the one you see at the left.
If you don't see it, please be sure that JavaScript is enabled.

Downloads

Here is the download: Version 1.0.2

Usage

1. After you download the ZIP file, extract it into a folder on your website.

2. Put this code in the head section:
<link rel="stylesheet" href="xptaskpane.css" />

3. Put this code in the body section:
<script type="text/javascript" src="xptaskpane.js"></script>
<script type="text/javascript">
// <![CDATA[
var pane1 = new XTPWindow('Title Text', 'Contents -- Can have HTML tags in it.');
// You can insert links and make a navigation bar with this!
// ]]>
</script>

Things to Try!

Create a new window
Change the content of "For Testing" window
Hide the "For Testing" window
Show the "For Testing" window
Collapse the "For Testing" window
Expand the "For Testing" window

Object Members

bodyNode - Reference to the body node.
collapse () - Collapses the content in the window.
expand () - Expands the content in the window.
hide () - Hides the window.
setInnerHTML (sContent) - Sets the content's HTML and updates its height.
setTitleHTML (sContent) - Sets the title's HTML.
show () - Shows the window.
updateHeight () - Updates it's height to fit the content in it.