简体   繁体   中英

Javascript library independent tooltip

can anyone recommend me nice tooltip script which is javascript library independent, meaning no help/code from any of libraries such as (jquery, prototype,scriptalicious, mootools,extjs etc.).

Here is the one I particularly like but it uses protoype and that is not option for me now, because I'm just integrating something else into already existing huge script and I don't wanna mess up old functionality or bring some additional unnecessary overhead.

Or even better if you can give me some guidelines / pointers , how to make one from scratch that would be acceptable for me also.

The most important thing is that it points from above downwards, because I found like dozen of good ones but pointing from below. Here is an example what I mean when I say from pointing from above.

这里

There is a script that doesn't use any of the libraries you mention. Get it here . By itself it does not do the arrowed corner like you want but in the description where it says 'Extensions (plugins)' they show you an example of a tool tip like that, all you have to do is include an extension of theirs, called Balloon Tooltip, with the said script. Just follow the links to this extension (I would have linked it but aparently I need 10 rep points to have more than one link in my post). This way you will get a tool tip like this without depending on a library. With this extension you are able to customise the images that get used to make the tooltip as well! :D

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM