Hello, I want to use cluetip for displaying tooltips :) If I do it like that, everything works fine:
[code] JS: // Tipps für die Hilfen auf Icons: $('a.help').cluetip({ cluetipClass: 'jtip', arrows: true, dropShadow: false, hoverIntent: false, //sticky: true, //mouseOutClose: true, closePosition: 'title', closeText: '<img src=\"img/delete.gif\" alt=\"Schließen\" />', splitTitle: '|', positionBy: 'auto', leftOffset: 20, fx: { open: 'fadeIn', // can be 'show' or 'slideDown' or 'fadeIn' openSpeed: '' }, hoverIntent: { sensitivity: 3, interval: 50, timeout: 0 }, }); HTML: <a class="help" title="Löschen|Diesen Bereich und alle darin enthaltenen Beiträge löschen" href="..."><img src="img/delete.gif" border="0" /></a> [/code] But if I want to use te same content quite often, I want to use the content from a hidden p, so I used the following: [code] Js: // Tipps für die Hilfen auf Icons: $('a.help').cluetip({ cluetipClass: 'jtip', arrows: true, dropShadow: false, hoverIntent: false, //sticky: true, //mouseOutClose: true, closePosition: 'title', closeText: '<img src=\"img/delete.gif\" alt=\"Schließen\" />', splitTitle: '|', positionBy: 'auto', leftOffset: 20, fx: { open: 'fadeIn', // can be 'show' or 'slideDown' or 'fadeIn' openSpeed: '' }, hoverIntent: { sensitivity: 3, interval: 50, timeout: 0 }, local: true, hideLocal: true, }); HTML: <a class="help" rel="#loadme1" href="..."><img src="img/delete.gif" border="0" /></a> <p style="display: none" id="loadme1">Löschen|Diesen Bereich und alle darin enthaltenen Beiträge löschen</p> [/code] But that doesn't work :( Why, what's wrong with it?? Thanks!