extranet/www/js/synthese.js

36 lines
847 B
JavaScript
Raw Normal View History

$(document).ready(function()
{
$('#synthese a[tooltip]').each(function()
{
$(this).qtip({
content: $(this).attr('tooltip'),
style: { width: 500, name: 'dark' },
position: { corner: { target: 'bottomMiddle', tooltip: 'topMiddle' } }
});
});
$('.sTip').each(function()
{
$(this).qtip(
{
content: {
text: 'Chargement...',
url: $(this).attr('rel'),
title: { text: 'Evolution - ' + $(this).attr('name')}
},
position: {
corner: {
target: 'leftMiddle',
tooltip: 'rightMiddle'
}
},
show: { solo: true},
style: {
tip: true,
border: { width: 1, radius: 0 },
name: 'light',
width: 400
}
})
});
});