3 lines
851 B
JavaScript
3 lines
851 B
JavaScript
|
|
$(document).ready(function()
|
|
{$('#synthese a[tooltip]').each(function(){$(this).qtip({content:$(this).attr('tooltip'),style:{width:500,classes:"ui-tooltip-dark"},position:{at:"bottom center",my:"top center"}});});$('.sTip').each(function(){$(this).qtip({content:{text:"Chargement...",title:{text:"Evolution - "+$(this).attr('name')+""},ajax:{url:$(this).attr('rel')}},position:{at:"right center",my:"right center",adjust:{x:-20}},show:{solo:true},style:{width:420,classes:"ui-tooltip-light"}});});$('input[type=radio][name=typeBilan]').change(function(){window.location.href=$(this).val();});$('.scoreTip').each(function(){$(this).qtip({content:{text:"Chargement...",title:{text:$(this).attr('titre')},ajax:{url:$(this).attr('rel')}},position:{at:"left center",my:"right center"},show:{solo:true},style:{width:400,classes:"ui-tooltip-light"}});});}); |