21

May

Filed in Code, JavaScript |

So I finally took the time to rework my tooltips script which is in use on sites like WoW Guru. I originally created it as an alternative to using overlib and other quite large (bloated?) libraries as I didn’t need 90% of what they do.

The tooltip library is very simple, as it currently has one option, which let’s you adjust the horizontal alignment with the source (wherever the tooltip is originating from). To use the library it’s as simple as including the javascript on your page (most likely in the header) and calling onmouseover=”showTip(event, ‘Text’);” on an element.

If this is of use to you, have at it, if you’d like to see anything changed or added let me know. You can download the javascript tooltips source here.

  • Feryt

    Hi, thanks for greath JS, but i found one issue.
    Caling “window.onload = initTips;” is not good as it overwrites previos event bindings.
    Use “window.onload += initTips;” instead.

    Regards.
    F.S.

  • http://www.gucci-outlet-store.com gucci handbags

    Mark S. is definitely on the right track. If you want to get a professional looking email address, Id recommend buying your name domain name, like or
    Jordan OL School
    If its common it might be difficult to get, however, be creative and you can usually find something.

  • http://www.boots-store.co.uk ugg boots

    “Here air jordan 21 products xx, has fashion model, superior quality and service, cheap price and updates quickly.I support strongly always! I want to buy XX, I hesitate to select which style more better.Hope your unique recommends.

blog comments powered by Disqus