tolto opacity alle cantiche
This commit is contained in:
parent
6e261d258a
commit
9b0bec1786
|
@ -44,9 +44,6 @@ $(document).ready(function() {
|
||||||
const start = performance.now();
|
const start = performance.now();
|
||||||
showCantica('Inferno')
|
showCantica('Inferno')
|
||||||
|
|
||||||
$('#cantica2').css({ 'opacity': 0.40 });
|
|
||||||
$('#cantica3').css({ 'opacity': 0.40 });
|
|
||||||
//$("#CantiInferno").attr('style', 'display:block')
|
|
||||||
$("#InfernoCanto_1").attr('style', 'display:block')
|
$("#InfernoCanto_1").attr('style', 'display:block')
|
||||||
drawMinimap("InfernoCanto_1")
|
drawMinimap("InfernoCanto_1")
|
||||||
|
|
||||||
|
@ -57,36 +54,12 @@ $(document).ready(function() {
|
||||||
|
|
||||||
|
|
||||||
$("[data-cg]").hover(function() {
|
$("[data-cg]").hover(function() {
|
||||||
//var value = $(this).text();
|
var properties = $(this).data("cg").split("");
|
||||||
var cg = $(this).data("cg");
|
|
||||||
|
var cg = properties[0];
|
||||||
$(this).popover({title: "Proprietà", content: categoriegrammaticali[cg], trigger: "hover"});
|
$(this).popover({title: "Proprietà", content: categoriegrammaticali[cg], trigger: "hover"});
|
||||||
});
|
});
|
||||||
|
|
||||||
// prima cantica
|
|
||||||
$('#cantica1').on('click', function() {
|
|
||||||
|
|
||||||
|
|
||||||
$('#cantica1').css({ 'opacity': 1 });
|
|
||||||
$('#cantica2').css({ 'opacity': 0.40 });
|
|
||||||
$('#cantica3').css({ 'opacity': 0.40 });
|
|
||||||
});
|
|
||||||
|
|
||||||
// seconda cantica
|
|
||||||
$('#cantica2').on('click', function() {
|
|
||||||
|
|
||||||
$('#cantica1').css({ 'opacity': 0.40 });
|
|
||||||
$('#cantica2').css({ 'opacity': 1 });
|
|
||||||
$('#cantica3').css({ 'opacity': 0.40 });
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
// terza cantica
|
|
||||||
$('#cantica3').on('click', function() {
|
|
||||||
|
|
||||||
$('#cantica1').css({ 'opacity': 0.40 });
|
|
||||||
$('#cantica2').css({ 'opacity': 0.40 });
|
|
||||||
$('#cantica3').css({ 'opacity': 1 });
|
|
||||||
});
|
|
||||||
var mmih = 0
|
var mmih = 0
|
||||||
var mmiw = 0
|
var mmiw = 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue