Load features in tooltip why not?

hi,

any one know if is possible to load features product in tooltip for the category product listing



with this I could load in my product listing the features

{if $product.product_features}
{include file="products_pages/product_features.tpl"}
{/if}




but if you use multicolumns is not possible because not suffisent space, and the only issue is to load with tooltip effect but I don’t know the good syntax… or if it’s posible …


```php



title="quick Features">[COLOR="Red"]{if $product.product_features}
{include file="products_pages/product_features.tpl"}[/COLOR]

```

make sure you put the tooltip.js in the scripts folder and have the correct path to the js file, example:


Hi Sno,

The path is correct but the problem is to load the smarty function

[COLOR="Red"]title="[/COLOR]{if $product.product_features}
{include file="products_pages/product_features.tpl"}{/if}


title= give brut text output.

I use this script

[url]http://ljouanneau.com/softs/javascript/tooltip.php[/url]

is possible so light ? to you know how to load between literal code smarty variable?

according to the website did you try the smarty plugin example:



Plugin smarty



L’archive est livrée avec deux plugins pour smarty, le moteur de template PHP. Le premier, tooltipinit insère dans le template la balise script et la div tooltip. Le deuxième, permet d’ajouter une bulle d’aide facilement sur un élément.


```php


..

....
{tooltipinit}

Voici le contenu d'une div,
avec un exemple de bulle d'aide. Passez votre souris au dessus.

...
ou encore:
Voici le contenu d'une div,
avec un exemple de bulle d'aide. Passez votre souris au dessus.




```