This code was authored by Oliver Steele.
This is a simple inline message window, which hugs the foot of the page and records the last N messages.
It may be moved to the left or right side of the screen, and new content added to it via a simple call:
gMessageWindow.output("Loaded message window...");
This page itself is a demo, clicking on any of the following links will output the URL to the window:
These messages were hooked up because they have the class message, with the following code:
$("a.message").click(function() { gMessageWindow.output($(this).attr('href')); return false; })You may also toggle the visibility of the message window.