in partnership with mediatemple

Ticket #695 (new enhancement)

Opened 5 months ago

Last modified 2 days ago

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

Changed 4 months ago by kamicane

  • milestone set to Mootools version 1.3

Changed 2 days ago by tomocchino

  • milestone set to Mootools version 1.3
Note: See TracTickets for help on using tickets.