Line 333: | Line 333: | ||
#navtext ul li:hover > a { | #navtext ul li:hover > a { | ||
/* background-color: #6696c7; /*makes a link stay in a certain color when hovering over it and then looking throught its subitems */ | /* background-color: #6696c7; /*makes a link stay in a certain color when hovering over it and then looking throught its subitems */ | ||
− | color: #345292; /* couleur du sous titre | + | color: #345292; /* couleur du sous titre quand tu passes dessus*/ |
} | } | ||
#project-sub { | #project-sub { | ||
display: none; | display: none; | ||
− | + | left: 0.5%; | |
} | } | ||
Line 494: | Line 494: | ||
// make chip stay over main menu point when its submenu appears and makes the submenu stay visible// | // make chip stay over main menu point when its submenu appears and makes the submenu stay visible// | ||
$("#project-sub") .hover(function(){ | $("#project-sub") .hover(function(){ | ||
− | $("#runningchip") .css(' | + | $("#runningchip") .css('left','1.3%'); |
$("#project-sub") .show(); | $("#project-sub") .show(); | ||
}, | }, | ||
function(){ | function(){ | ||
− | $("#runningchip") .css(' | + | $("#runningchip") .css('left',''); |
$("#project-sub") .hide(); | $("#project-sub") .hide(); | ||
}); | }); |
Revision as of 11:16, 31 July 2018