"http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
JavaScript Widgets -- Examples/Banners
style="LEFT: 0px; WIDTH: 100%; POSITION: absolute; TOP: 100px">
Examples/Banners
In this example, there is a form banner, a title banner and a status-line
banner.
Put your mouse over the dummy link to test
the behavior of the status line banner.
Final note: the logic of the "clear scroll" functions includes a call to
clearTimeout(). This ensures that race conditions are avoided when
cycling is turned off. It is therefore easily possible to implement a scroll
timeout via a call to setTimeout() with the appropriate "stop" or "clear"
function.
Check this out here. Clicking on "Stop after 2 seconds." will cause cycling
to stop after 2 seconds. Clicking on "Clear after 2 seconds." will cause cycling
to stop the message and to clear it after 2 seconds.