Line 27: | Line 27: | ||
$('texti').toggleClass('visible'); | $('texti').toggleClass('visible'); | ||
$('tspanC1').toggleClass('visible'); | $('tspanC1').toggleClass('visible'); | ||
− | + | $('text').toggleClass('visible'); | |
− | + | if (texti.style.opacity == "0" ) { | |
texti.style.opacity = "1"; | texti.style.opacity = "1"; | ||
} else { | } else { | ||
texti.style.opacity = "0"; | texti.style.opacity = "0"; | ||
− | } | + | } |
− | + | if (!text.style.display || text.style.display === 'none') text.style.display = 'block'; | |
− | else text.style.display = 'none'; | + | else text.style.display = 'none'; |
}*/ | }*/ | ||
]]></script> | ]]></script> |
Revision as of 09:28, 30 October 2017