CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 45: | Line 45: | ||
$('#'+id).css( 'cursor', 'pointer' ); | $('#'+id).css( 'cursor', 'pointer' ); | ||
//void(document.getElementById(id+'_t').setAttribute('fill', '#000000')); | //void(document.getElementById(id+'_t').setAttribute('fill', '#000000')); | ||
− | $('#'+id+'_t').addClass(' | + | $('#'+id+'_t').addClass('animate_text_appear'); |
} | } | ||
function removeStroke(id){ $('#'+id).removeClass('boldStroke'); | function removeStroke(id){ $('#'+id).removeClass('boldStroke'); | ||
void(document.getElementById(id+'_t').setAttribute('fill', '#ffffff')); | void(document.getElementById(id+'_t').setAttribute('fill', '#ffffff')); | ||
− | $('#'+id+'_t').removeClass(' | + | $('#'+id+'_t').removeClass('animate_text_appear'); |
} | } | ||
Line 482: | Line 482: | ||
.animate_text{ visibility: hidden; } | .animate_text{ visibility: hidden; } | ||
+ | .animate_text_appear{ visibility: visible; } | ||
</style> | </style> | ||
Revision as of 14:36, 9 August 2017