链接自动跟随光标

1.将超链接显示为block

2.position设为绝对位置absolute

3.鼠标移动是通过函数获得鼠标位置

4.鼠标位置加上适当偏移量得到超链接block的位置

5. 可将字体颜色设为透明

 

posted @ 2018-08-02 17:20  annofyf  阅读(135)  评论(0编辑  收藏  举报