migliorato popover

This commit is contained in:
nicola 2022-12-14 11:51:48 +01:00
parent 8d1fdbbb6e
commit 6e261d258a
2 changed files with 16 additions and 4 deletions

View File

@ -14,7 +14,21 @@
* Footer * Footer
*/ */
span:hover {
color: red;
}
/*
Popover properties
*/
.popover-header {
color: blue;
font-size: 13px;
}
.popover-body {
color: red;
font-size: 12px;
}
/* /*
Minimap Minimap

View File

@ -57,11 +57,9 @@ $(document).ready(function() {
$("[data-cg]").hover(function() { $("[data-cg]").hover(function() {
var idspan = $(this); //var value = $(this).text();
var value = $(this).text();
var cg = $(this).data("cg"); var cg = $(this).data("cg");
// alert('fava '+ value + " "+cg); $(this).popover({title: "Proprietà", content: categoriegrammaticali[cg], trigger: "hover"});
$(this).popover({title: "Categoria", content: categoriegrammaticali[cg], trigger: "hover"});
}); });
// prima cantica // prima cantica