extranet/www/js/synthese.js

60 lines
1.5 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'),
style: { width: 500, name: 'dark' },
position: { corner: { target: 'bottomMiddle', tooltip: 'topMiddle' } }
});
});
2010-07-06 09:23:06 +00:00
$('.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
}
2010-04-28 07:26:42 +00:00
});
});
2009-10-06 08:31:48 +00:00
$('input[type=radio][name=typeBilan]').change(function(){
2010-05-07 15:48:45 +00:00
$(location).attr('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({
2010-04-07 08:01:31 +00:00
content: {
text: 'Chargement...',
url: $(this).attr('rel'),
title: { text: $(this).attr('titre')}
},
position: {
corner: {
target: 'leftMiddle',
tooltip: 'rightMiddle'
}
},
show: { solo: true},
style: {
tip: true,
border: { width: 1, radius: 0 },
name: 'light',
width: 400
}
2010-04-28 07:26:42 +00:00
});
2010-04-07 08:01:31 +00:00
});
});