LinkScroll

Replaces hovered element text with a scrolling 'tickertape' text description that occupies the same space. A discreet alternative to popup tooltip boxes. Hold down the mouse button for increased speed.

You have seen how the menu on this site uses LinkScroll, however it is equally useful when used in embedded hyperlinks in regular text. It isn't necessary for a scrolled text to be part of a link, a <span> on its own is equally suitable, however for accessibility purposes (keyboard operation), links are preferred. If a <span> is nested within a link and specified as a scrolling element, the script detects the parent link and activates scrolling when the link is focused via keyboard navigation.

The script is very easily configured, requiring only that each involved link or inline element be identified by its ID attribute, followed by the associated descriptive text to be scrolled.
Alternatively, any or all elements can be configured to scroll the text of their 'title' attribute.

Smooth scrolling requires a monospaced font, so the script will style all scrolled text accordingly, although it is better set by the default stylesheet. The relative size of such text is browser-dependent.

The static text will be converted to contain non-breaking spaces, dictating that it will not wrap.

This script will attempt to combine its operation with any other previously-loaded script, that uses onmouseover/onmouseout events on the same links.

Access Instructions and Source Code

This script not suitable? Tell us why.