I have some text here.
<div id="imagecontainer" class="header-image-container"> </div>
The background image is specified in the CSS for each page based on the parent class.
.category-1 #imagecontainer {
background: url(_/images/1.jpg);
}
I also have a menu. I want to change the background image on mouseover, and revert back on mouseout to the image specified in the CSS for that specific page based on the parent class. I believe this can be achieved using JQuery. For instance, if we are on a category-3 page and hover over a category-1 menu item, we will see the category-1 background image in the #imagecontainer, and then when we move our mouse out, we will see the category-3 background image again.