Correction javascript + ajout de la fonction help

This commit is contained in:
Damien LASSERRE 2012-04-17 14:08:12 +00:00
parent d8d52662f4
commit 3a78d2bb5c

View File

@ -1,5 +1,23 @@
$(document).ready(function(){
$('.overHelp').hover(function(){
if($(this).attr('div') == '_entreprise') {
$('#helper').html('<div style="padding:10px;">Aide Entreprise</div>');
}
if($(this).attr('div') == '_economique') {
$('#helper').html('Aide Economique');
}
if($(this).attr('div') == '_geographique') {
$('#helper').html('Aide geographique');
}
if($(this).attr('div') == '_juridique') {
$('#helper').html('Aide Juridique');
}
if($(this).attr('div') == '_financiere') {
$('#helper').html('Aide Financiere');
}
});
$('#message').hover(
function(){ $('#control').css('display', 'block'); },
function(){ $('#control').css('display', 'none'); }