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('animate_text'); | |
} | } | ||
− | function removeStroke(id){ $('#'+id).removeClass('boldStroke'); void(document.getElementById(id+'_t').setAttribute('fill', '#ffffff'));} | + | function removeStroke(id){ $('#'+id).removeClass('boldStroke'); |
+ | void(document.getElementById(id+'_t').setAttribute('fill', '#ffffff')); | ||
+ | $('#'+id+'_t').removeClass('animate_text'); | ||
+ | } | ||
function displayProfile(id){ | function displayProfile(id){ | ||
Line 105: | Line 108: | ||
</defs> | </defs> | ||
− | <circle | + | <circle id='eugene' cx="-392" cy="168" r="60" stroke='#ffffff' stroke-width="2" fill="url(#eugene_pic)" id='eugene_circle' class='svgGraphic' onclick="displayProfile(this.id)" onmouseover="changeStroke(this.id)" onmouseleave='removeStroke(this.id)' /> |
<text class='animate_text' id='eugene_t' x='-392' y='250' font-size='23px' text-anchor='middle' fill='#ffffff' >Eugene</text> | <text class='animate_text' id='eugene_t' x='-392' y='250' font-size='23px' text-anchor='middle' fill='#ffffff' >Eugene</text> | ||
Revision as of 14:34, 9 August 2017