Active
Project:
Tool Tips
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2008 at 18:20 UTC
Updated:
9 Mar 2010 at 05:01 UTC
I wanted to integrate HTML (a link for example) within the tip, but it's impossible, since the tipped text is an anchor.
Modifying it to be a span tag, makes putting HTML within the tips possible.
<?php
$replace[] = '<span class="tooltip">' . $link .'<span>'. $tip .'</span>' . '</span>';
?>Also - change the CSS file, to match. Turn all "a" selectors into "span".
Comments
Comment #1
tmallen commentedRight, but the hover effect itself would not work in IE6 without the wrapper being a link (unless JS were used). I think that a
<div>could be used in place of the current<span>...testing.Comment #2
TimAlsop commentedDid you manage to fix this ? I am interested to add HTML to my tips, but when I tried using
Comment #3
vishun commentedCheck out this issue that we posted awhile ago that has an advanced version of the currently available development module except this includes HTML, CCKs, and more...
http://drupal.org/node/679692