graphics enhanced
This commit is contained in:
parent
663a62e61b
commit
e6dae6fe84
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue