Hello Xavier,
Thanks for the help!
Here is the code for "product / show_block_characteristic" now:
<?php
JHTML::_('behavior.tooltip');
if (!empty ($this->element->characteristics)) {
?><div id="hikashop_product_characteristics" class="hikashop_product_characteristics"><?php
echo $this->characteristic->displayFE($this->element, $this->params);
if ($this->element->characteristics[10]) {
echo "<span style='position:relative; top:-18px; left:145px;'>";
echo JHTML::tooltip(
'This is the tooltip text',
'Tooltip title',
'tooltip.png',
'',
'http://www.joomla.org'
);
echo "</span>";
}
?></div><?php
}
?>
The information icon is displayed where I want it, but when I hover over it, I never see
the tooltip. If I click the icon, I am taken to the URL as expected, but when I hover
over the icon, nothing happens.
I wonder why the tooltip is not displayed when I hover over the icon?