javascript - Change the picture into another picture in relation to hover -


goal:
when have cursor on image, should changed image:

enter image description here

problem:
don't know how solve in context.

the source code taken plugin:

scrollup-jquery-plugin

a simplified version located in jsfiddle

    $(function(){        $.scrollup({scrolltext: false });     }); 

i have not changed in javascript source code.

please me this.

user :hover notation:

    #scrollup:hover {        background-image: url("https://cdn0.iconfinder.com/data/icons/sweets/128/lollypop_blue_candy.png");     } 

and future: should not hard find yourself. using search engine keyword have in mind + "css" yields pretty solid results.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -