Suppression title lors de l'afficahge des informations

This commit is contained in:
Michael RICOIS 2011-05-04 13:31:43 +00:00
parent 04779c50d2
commit 048510356d

View File

@ -1,5 +1,4 @@
$(document).ready(function() $(document).ready(function(){
{
$('#surveillance').tablesorter({ $('#surveillance').tablesorter({
headers: { headers: {
3: { sorter: false }, 3: { sorter: false },
@ -8,20 +7,21 @@ $(document).ready(function()
} }
}); });
$('.tooltip').each(function() $('.tooltip').each(function(){
{ var content = $(this).attr('title');
$(this).attr('title', '');
$(this).qtip( { $(this).qtip( {
content: $(this).attr('title'), content: content,
style: { width: 300, name: 'dark' }, style: { width: 300, name: 'dark' },
position: { corner: { target: 'bottomMiddle', position: { corner: { target: 'bottomMiddle',
tooltip: 'topMiddle' } } tooltip: 'topMiddle' } }
}); });
}); });
$('.set').hover(function(){ $('.set').hover(function(){
$(this).find('a.editencours').css('display', 'inline'); $(this).find('a.editencours').css('display', 'inline');
},function () { },function () {
$(this).find('a.editencours').css('display', 'none'); $(this).find('a.editencours').css('display', 'none');
}); });
}); });