Alt-O-Matic is a javascript to add additional information to textlinks. When hovering over a textlink, a customised information-layer appears.
You are seeing this very light version of the page, as you are using an outdated browser!
Onlinetools.org is done in XHTML 1.0 and supports CSS 2.0, please upgrade your browser if you want a better version of this site.
Thank you, please help us developers keep up with the industry rather than patching our code for outdated applications.

open or close right navigation

Alt-O-Matic

Advertisement:
Version History
Short information
Restrictions
Requirements
Long Information
Installation notes
Usage notes
Known Bugs

Category: Javascript Version:1.0
Last page update:14.04.2003

»Download Alt-O-Matic.

Version History

- 1.0 Initial release

Short information

Alt-O-Matic is a DHTML/Javascript to add "Alt Tag" or "Title" functionality to textlinks in IE and Netscape. With Alt-O-Matic you add additional information to textlinks. When hovering over a textlink, a customised information-layer appears.

back up

Restrictions

- Do not use it for non-private, profit orientated sites
back up

Requirements

- Alt-O-Matic uses DHTML, and Javascript 1.2, the routine is not executable without a HTML document doing the onload initialisation and the mouseover triggers.
- The script requires a browser capable of DHTML.(Netscape 4+, IE 4+)
back up

Long information

When you use pictures on your webpage, you can use ALT Tags. These display text while the image is loading and when you touch it with your mouse.

If you use textlinks, you don't have this feature, and you have to make sure that all the required information about the link is given in the surrounding copy or in the link text itself.

With Alt-O-Matic you can add an alt-tag functionality to your textlinks. You can alter the text to be displayed and even it's looks. If a surfer hovers over one of your textlinks, he will get an "ALT message" with a slight offset next to the mousepointer.

back up

Installation Notes

Simply call or put the code in the <head> section of your HTML

back up

Usage Notes

To use Alt­O­Matic in your own Pages, you copy the code in the <head> section and trigger the function in the <body> via onload="initalt()".

The linktag itself has to contain the mouse-events, onmouseover you add your message, onmouseout you hide it again:

<a href="http://www.onlinetools.org/" onmouseover="doalt('Many­O­Matics!')" onmouseout="realt()">Click</A>

Change the style of your altmessages in lines 22 to 30 of the source:

altback="yellow" // Alt­Message background color
altborder="black"// Alt­Message border color
altfont="arial" // Alt­Message Font
altfontcolor="black"// Alt­Message Font color
altfontsize="2" // Alt­Message Font Size
altoffx=5 // Alt­Message horizontal offset from mouse­position
altoffy=15 // Alt­Message vertical offset from mouse­position
altwidth=10 // Alt­Message width, will be expanded by your message
altheight=10 // Alt­Message height, will be expanded by your message

back up

Known Bugs

- Not tested on IE6, NS6, Opera
back up


Search:

 

Font:

Click to decrease fontsizeClick to increase fontsize

Text-colour:


Background:


sponsored by :

NWU

Help Onlinetools.org

Help onlinetools.org, donate via paypal

Partners

easyPHP

icons

Link to us

copy the code here:


Powered by EasyCMS