Line 42: | Line 42: | ||
var loc = cursorPoint(evt); | var loc = cursorPoint(evt); | ||
− | linkinfo.setAttributeNS(null,"x",loc.x+ | + | linkinfo.setAttributeNS(null,"x",loc.x+15); |
− | linkinfo.setAttributeNS(null,"y",loc.y+ | + | linkinfo.setAttributeNS(null,"y",loc.y+64); |
linkinfo.firstChild.data = mouseovertext; | linkinfo.firstChild.data = mouseovertext; | ||
linkinfo.setAttributeNS(null,"visibility","visible"); | linkinfo.setAttributeNS(null,"visibility","visible"); | ||
Line 49: | Line 49: | ||
length = linkinfo.getComputedTextLength(); | length = linkinfo.getComputedTextLength(); | ||
− | linkinfo_bg.setAttributeNS(null,"width",length+ | + | linkinfo_bg.setAttributeNS(null,"width",length+32); |
linkinfo_bg.setAttributeNS(null,"x",loc.x); | linkinfo_bg.setAttributeNS(null,"x",loc.x); | ||
linkinfo_bg.setAttributeNS(null,"y",loc.y); | linkinfo_bg.setAttributeNS(null,"y",loc.y); | ||
Line 74: | Line 74: | ||
.linkinfo{ | .linkinfo{ | ||
font-family: Orbitron, sans-serif; | font-family: Orbitron, sans-serif; | ||
− | font-size: | + | font-size: 48px; |
color: black; | color: black; | ||
} | } |
Revision as of 01:20, 2 November 2017