using a:hover to change the color of an image

后端 未结 3 1266
孤独总比滥情好
孤独总比滥情好 2021-01-22 07:39

In the following example, a mouse hover over each link changes the image:

http://www.prism.gatech.edu/~dm257/sprite.html

The trick is the following line of code:

3条回答
  •  一生所求
    2021-01-22 08:21

    you can accomplish with the help of this plugin - Visited links plugin

    Download JS: jQuery.visited.js

    See below lins which is related:

    • set a:visited style with javascript or jquery
    • Setting CSS pseudo-class rules from JavaScript

提交回复
热议问题