finish pLink. it have toooooooooooo much bugs

This commit is contained in:
2020-04-14 23:19:06 +08:00
parent bbd3ba2e3a
commit 863badc809
4 changed files with 106 additions and 28 deletions

View File

@ -12,6 +12,12 @@ function highlightLink(target) {
if ($(this).hasClass("link-blinkDelay")) {
$(this).attr("fill", "black")
}
if ($(this).hasClass("link-plink")) {
$(this).attr("stroke", "blue")
}
if ($(this).hasClass("link-elink")) {
$(this).attr("stroke", "cyan")
}
});
}
@ -27,6 +33,12 @@ function highlightLink(target) {
if ($(this).hasClass("link-blinkDelay")) {
$(this).attr("fill", "yellow")
}
if ($(this).hasClass("link-plink")) {
$(this).attr("stroke", "orange")
}
if ($(this).hasClass("link-elink")) {
$(this).attr("stroke", "orange")
}
});
previousHighlight = realTarget