I am trying to incorporate a background image fade effect along with the color fade in and out when hovering over a link using my current code. However, I am unsure of how to set the background image and position within the code.
$(document).ready(function() {
var $imageUrl = "../images/TopNavigationArrows.png";
var cssBg = ?
$(".link").hover(function() {
// Hover State
$(this).animate({ color: "#FFEFCA" }, 200);
},function() {
// Default State
$(this).animate({ color: "#FFF" }, 200);
});
});