Damien LASSERRE 9ef83fc34c Modification de la classe graphique
correction totale de la synthése a 100%
correction totale des ratios a 100%
correction totale des bilans a 100%
finalisation de indiscore2 ( quelque modif a faires ).
2011-05-26 15:56:16 +00:00

55 lines
1.4 KiB
JavaScript

$(document).ready( function()
{
$('.tooltip').qtip({
content: $('tooltip').title,
style: {name: 'dark', width: 400},
position: {
corner: {target: 'bottomMiddle',
rooltip: 'topMiddle' } }
});
$('area.detailsgraphique').qtip({
content: $('area.detailsgraphique').title,
style: { name: 'cream', width: 170 },
position: {
corner: { target: 'bottomMiddle',
tooltip: 'topMiddle' } }
});
$("a.tab").click(function ()
{
$(".active").removeClass("active");
$(this).addClass("active");
$(".content").slideUp();
var contenu_aff = $(this).attr("title");
$("#" + contenu_aff).slideDown();
});
$('.rTip').each(function()
{
$(this).qtip(
{
content: {
text: 'Chargement...',
url: $(this).attr('rel'),
title: { text: $(this).attr('name')}
},
position: {
corner: {
target: 'leftMiddle',
tooltip: 'rightMiddle'
}
},
show: { solo: true},
style: {
tip: true,
border: { width: 1, radius: 0 },
name: 'light',
width: 400
}
});
});
});
function changerImage(url, type) {
document.images["graphique"+type].src=url;
}