using jquery, how to change an image when hovering links?
问题 I have a list of links (a text menu), and I need to change an image in other area when each link is hovered... the images need to be showed in the same place, lets say a 100x100 area at right... any idea to achieve this? can each link have the src of the images? no idea how to do it :( 回答1: Not a complete answer, but this will guide you to the real solution. $("a") .hover( function(){ $("#some-div").css( "background", "my-image.jpg" ) ); 回答2: You could store the src of the image in the rel