hovering elements over the links in an arbitrary HTML -
i have arbitrary html outputting page inside of table, , need able "layer" elements on of links (one per link).
my current solution search html links (which have in separate array source), insert div different z-index , position absolute html. works of time, , breaks bizarrely other times.
is there i'm missing here? i've seen nice implementations of on various forums, different in require interaction user come up, want mine of time.
long question short, there easy way this?
using javascript (and jquery), yes.
there many tooltip libraries out there.
- http://plugins.jquery.com/project/tooltips
- http://flowplayer.org/tools/tooltip/index.html
- http://craigsworks.com/projects/simpletip/
i'd top 1 suit needs best. enable "always on" you'd set css element .tooltip
follows:
.tooltip { display:block; // replaces "none" have in example, line isn't necessary font-size:12px; height:70px; width:160px; padding:25px; color:#fff; }
Comments
Post a Comment