Examples by Prof. Al

 

MSIE Scrolling Text Tip

Go to Prof Al's        Go to Prof Al's Sandbox

Credits: Dynamic Drive
Description: A script that creates a "scrolling" tooltip. An eye catcher, if nothing else. (Note that in IE, the tooltip will only be enabled after the document has completed loading).

Highlight all the code in the textbox below and paste it into the body of your document. Follow the advice given in the comment tags to adapt the code for yourself.

Select All

Giving text links a tooltip:
Having done the above, simply insert the below into either the <a> tag of the text link, or right alongside the href attribute of each image spot:

<a href="http://profal.com/sandbox-interface1.html" onMouseover="showtip2(this,event,'Visit Prof Als Sandbox and try out many other JavaScript and DHTML tricks!')" onMouseout="hidetip2()"> Go to Prof Al's SandBox </A>

with the part in white representing the text you want shown inside the scrolling tip. Note that for the scrolling tooltip script, there is no need to "break" text if it is very long; it is a scrolling tooltip, after all!


Return to the main Home page here.

 


Copyright © 2001-2011 Professor Al   al.fichera@gmail.com
Page Last Updated on: June 8, 2011