Tipster v2.0
by Angus Turnbull - http://www.twinhelix.com.
Updated: 3 December 2001.
Well, welcome to Tipster! I hope you find this script
useful in some way or form.
Feature List:
- Object-orientated for ease of use, and multiple tip systems per page.
- Customisable positions and dimensions for each tip...
- Tips can be offset from mouse position or positioned via
formulae.
- Tips can be static or track the mouse around the screen.
- Tips restrained by window -- always appear within screen borders.
- In IE/Windows or NS6, tips can fade in and out at a custom speed.
- You can add tips to any object that supports onMouseOver and onMouseOut.
- Tip template replacement engine means you can customise anything -- colours,
sizes, content...
- Tips can have advanced HTML formatting...
- It's just basically cool, it is. Small code too, naturally...
Enjoy! - Gus.
Conditions of Use:
- This script is provided as-is, without a warranty of any kind, as although I strive
to make it as compatible as possible I cannot guarantee it will work in all target
environments, so test thoroughly.
- You may not redistribute this in any form, either intact or modified, without my consent.
- On sites that use this script, you should place a visible link to the splash page of my
site, with a short description, for example:
"DHTML / JavaScript provided by
TwinHelix Designs". (Please don't link to individual pages within this site as my splash
page detects browser capabilities). Also leave the my 'script name' comment in the source.
These stop interested users emailing the webmaster asking how to acquire the scripts.
If linking me doesn't suit your project...
- COMMERCIAL USERS: This script is 'donation-ware'. If you want to support this script
and/or you are using this script as part of a commercial project, please consider
making a donation via my site. After all, I
have probably saved you several months developing, debugging and documenting a comparable script.
Donors may take an optional exemption from a 'visible link' on the site, if that does not
fit your site design.
Version History
- v2.0:
- Stole a feature from my 'Popup Menu' script. Now strings are interpreted as absolute
positions, while numbers are positioned relative to the current mouse position.
- Added ability to set non-tracking tips, now you can optionally specify that tips are
positioned absolutely/relatively when shown, but don't follow further mouse movements.
- Included my page object to access window dimensions.
- Fixed non-fatal scripting error popups in IE/Mac related to some installations
incorrectly reporting the presence of an active alpha filter.
- Added checking of left and top screen boundaries when positioning.
- Extended example to show off new features, and tweaked the comments a bit.
- v1.1:
- Updated with new Layer API code, with fixed alpha routine for IE installations on
Windows without filters support installed.
- Specified a small width on the div to stop IE4 resizing it to full window width and
causing scrollbars to appear.
- v1.0: