CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 44: | Line 44: | ||
//Make cursor as a pointer | //Make cursor as a pointer | ||
$('#'+id).css( 'cursor', 'pointer' ); | $('#'+id).css( 'cursor', 'pointer' ); | ||
− | void(document.getElementById(id+'_t').setAttribute('fill', '#000000')); | + | //void(document.getElementById(id+'_t').setAttribute('fill', '#000000')); |
+ | void(document.getElementById(id+'_t').style.visibility = 'visible'); | ||
} | } | ||
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'));} | ||
Line 105: | Line 106: | ||
<circle class='animate_text' 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)' /> | <circle class='animate_text' 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> |
<line x1="-335" y1="135" x2="-195" y2="90" stroke-width="4" stroke="rgba(148, 159, 199, 1)" stroke-linecap="round" /> | <line x1="-335" y1="135" x2="-195" y2="90" stroke-width="4" stroke="rgba(148, 159, 199, 1)" stroke-linecap="round" /> | ||
Line 476: | Line 477: | ||
*/ | */ | ||
} | } | ||
+ | |||
+ | .animate_text{ visibility: hidden; } | ||
</style> | </style> | ||
Revision as of 14:32, 9 August 2017