extranet/www/js/ratios.js

54 lines
910 B
JavaScript
Raw Normal View History

$(document).ready(function()
{
$('#ratios a[tooltip]').each(function()
{
2011-08-29 21:14:22 +00:00
$(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"
}
});
});
2011-08-29 21:14:22 +00:00
$('.rTip').each(function(){
$(this).qtip({
content: {
text: "Chargement...",
title: {
text: $(this).attr('name')
},
ajax: {
url: $(this).attr('rel')
}
},
position: {
at: "right center",
my: "right center",
adjust: {
x: -20
}
},
show: {
solo: true
},
style: {
tip: true,
width: 400,
classes: "ui-tooltip-light"
}
});
});
2009-10-02 17:26:29 +00:00
$('[name=mil]').change(function(){
window.location.href = $(this).val();
2009-10-02 17:26:29 +00:00
});
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
});
});