26th October, 15:09
Hi there,
congratulations for the plugin, it is awasome.
I am having a little problem in all IE, the datas don´t appear using dynamic urls. I can see the tooltip but no the datas within.
Can you help me in any way?
And the JS is quite simple just I get the content from "rel" attribute.
Is there any restrictions using symfony or something like that?
Thank you very much for any input.
congratulations for the plugin, it is awasome.
I am having a little problem in all IE, the datas don´t appear using dynamic urls. I can see the tooltip but no the datas within.
Can you help me in any way?
JS Code
<a href="#" rel="/es/directores/pepito-perrez/4/">
Dir.ª Calidad de Datos
<span>Pepito Perez</span>
</a>
And the JS is quite simple just I get the content from "rel" attribute.
JS Code
// Create the tooltips only on document load
$(document).ready(function()
{
// Use the each() method to gain access to each elements attributes
$('#organigrama a[rel]').each(function()
{
$(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: '<img class="throbber" src="/images/ajax-load.gif" alt="Loading..." />',
url: $(this).attr('rel'), // Use the rel attribute of each element for the url to load
title: {
text: ' ', // Give the tooltip a title using each elements text
button: 'Close' // Show a close link in the title
}
},
position: {
corner: {
target: 'bottomMiddle', // Position the tooltip above the link
tooltip: 'topMiddle'
},
adjust: {
screen: true // Keep the tooltip on-screen at all times
}
},
show: {
when: 'click',
solo: true // Only show one tooltip at a time
},
hide: 'unfocus',
style: {
tip: true, // Apply a speech bubble tip to the tooltip at the designated tooltip corner
background: 'none',
border: {
width: 0,
radius: 4,
padding: 5,
color: '#FFF'
},
name: 'light', // Use the default light style
width: 380 // Set the tooltip width
}
})
});
});
Is there any restrictions using symfony or something like that?
Thank you very much for any input.