graphics enhanced

This commit is contained in:
nicola 2023-02-02 15:00:12 +01:00
parent 663a62e61b
commit e6dae6fe84
1 changed files with 5 additions and 4 deletions

View File

@ -222,15 +222,16 @@ $(" .Ma, .Co, .Su, .Pa").hover(function(idx, element) {
details = getHoverContent(categ);
var myitems;
//var catgramm;
var catgramm;
var subcatgramm = '';
var popoverText = '';
for (detail of details){
myitems= detail.split(',');
//catgramm='<div style="background-color: #DCDCDC; color: #00008B; text-align: center; padding: 5px 5px 5px 5px; font-size:14px" <b>'+myitems[0]+'</b></div>';
subcatgramm='<div style="padding: 8px 8px 8px 8px;"<b>'+myitems[0]+'</b><i>'+myitems.slice(1,-1)+'</i></div>';
popoverText = popoverText + subcatgramm;
catgramm='<div style="color: #00008B; padding: 5px 5px 0px 5px; "';
subcatgramm='<p> <b>'+myitems[0]+'</b><i>'+myitems.slice(1,-1)+'</i></p></div>';
popoverText = popoverText + catgramm + subcatgramm;
}
return (popoverText);