Custom hyperlink text hints and self-brought hyperlink hints have the advantage of faster response times and better aesthetics ~
1 /*hyperlink text Hint*/2 $ (function () {3 varx =Ten; 4 vary = -;5$("A.tooltip"). MouseOver (function (e) {6 This. MyTitle = This. title;7 This. title =""; 8 vartooltip ="<div id= ' tooltip ' >"+ This. MyTitle +"</div>";//Creating div elements9$("Body"). Append (tooltip);//append it to the documentTen$("#tooltip") One . css ({ A "Top": (e.pagey+y) +"px", - " Left": (e.pagex+x) +"px" -}). Show ("Fast");//sets the x and Y coordinates, and displays the }). mouseout (function () { - This. title = This. MyTitle; -$("#tooltip"). Remove ();//removed from - }). MouseMove (function (e) { +$("#tooltip") - . css ({ + "Top": (e.pagey+y) +"px", A " Left": (e.pagex+x) +"px" at }); - }); -})
Customize hyperlink text Tip effects