extranet/www/js/synthese.js
2009-10-07 07:46:28 +00:00

40 lines
953 B
JavaScript

$(document).ready(function()
{
$('#synthese a[tooltip]').each(function()
{
$(this).qtip({
content: $(this).attr('tooltip'),
style: { width: 500, name: 'dark' },
position: { corner: { target: 'bottomMiddle', tooltip: 'topMiddle' } }
});
});
$('.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
}
})
});
$('input[type=radio][name=typeBilan]').change(function(){
document.location.href=$(this).val();
});
});