Skip to main content

Bug Tracker

Side navigation

#1460 closed enhancement (duplicate)

Opened August 03, 2007 12:01PM UTC

Closed March 31, 2008 02:16AM UTC

Allow basic markup syntax in tooltips

Reported by: lrbabe Owned by: stefan
Priority: minor Milestone: 1.1.4
Component: interface Version: 1.1.3
Keywords: tooltip Cc:
Blocked by: Blocking:
Description

We should allow a few markup conversion for titles used in tooltips.

for exemple, this title :

title="heading :: some info | another info"

(note that the title remains understandable and valid without conversion),

could be rendered as :

<div id="tooltipHelper">

<div id="tooltipTitle">

<hX>heading</hX>

some info<br />

another info

</div>

<div id="tooltipURL">

</div>

</div>

the only thing to do actually is to replace line 65 of iTooltip by :

jQuery('#tooltipTitle').html(title.replace(/^(.*?)::/, "<h4>$1</h4>").replace(/ \\| /g, "<br />"));

An option could be added to ignore conversion...

PS : Excuse my poor english, I'm just a young french.

Attachments (0)
Change History (1)

Changed March 31, 2008 02:16AM UTC by scott.gonzal comment:1

resolution: → duplicate
status: newclosed

duplicate of #1459