Ticket #695 (new enhancement)
Add "href and/or title" options to Tootip
| Reported by: | Korel | Owned by: | |
|---|---|---|---|
| Type: | enhancement | Priority: | trivial |
| Milestone: | Mootools version 1.3 | Component: | Plugins |
| Keywords: | tooltip | Cc: |
Description
I use links like <a href="cart/delete/1" title="Delete this item" /> and when I set tooltip for this link the tooltip contains both value of title and value of href. If I want use only "title" I'm out of luck...
I imagine something like this:
var Tips = new Class({
.
.
options: {
.
href: true, // Both default values are set to true in order to backward compatibility
title: true,
.
.
build: function(el){
if(this.options.href) el.$tmp.myTitle = (el.href ...
if(this.options.title && el.title){
.
.
Change History
Note: See
TracTickets for help on using
tickets.