Código Javascript:
Ver original
$(".toolTipGrafico").each(function(){ var id = $(this).id; $(this).qtip({ content: { // Set the text to an image HTML string with the correct src URL to the loading image you want to use text: 'nada', ajax: { url:'/serviceFactoryManager/qtipEvolucion.action?datos='+id // Use the rel attribute of each element for the url to load }, title: { text: 'Evolución del Indicador', // Give the tooltip a title using each elements text } }, position: { at: 'bottom center', // Position the tooltip above the link my: 'top center', viewport: $(window), // Keep the tooltip on-screen at all times effect: false // Disable positioning animation }, show: { event: 'click', solo: true // Only show one tooltip at a time }, //hide: 'unfocus', style: { classes: 'qtip-wiki qtip-light qtip-shadow' } }); });
Y los td tienen esta pinta:
Código HTML:
Ver original
Gracias de antemano