extranet/www/js/synthese.js

73 lines
1.3 KiB
JavaScript
Raw Normal View History

$(document).ready(function()
{
2010-07-06 09:23:06 +00:00
$('#synthese a[tooltip]').each(function(){
$(this).qtip({
content: $(this).attr('tooltip'),
2011-08-29 21:14:22 +00:00
style: {
width: 500,
classes: "ui-tooltip-dark"
},
position: {
at: "bottom center",
my: "top center"
}
});
});
2010-07-06 09:23:06 +00:00
$('.sTip').each(function(){
2011-08-29 21:14:22 +00:00
$(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"
}
});
});
2009-10-06 08:31:48 +00:00
$('input[type=radio][name=typeBilan]').change(function(){
window.location.href = $(this).val();
2009-10-06 08:31:48 +00:00
});
2010-04-07 08:01:31 +00:00
2010-07-06 09:23:06 +00:00
$('.scoreTip').each(function(){
$(this).qtip({
2011-08-29 21:14:22 +00:00
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"
}
});
2010-04-07 08:01:31 +00:00
});
});