If you want to use variables in combination with CSS-style selectors like so:
$("#navigation a.myHomePage, " + logo).hover(function() {
$("li.home").addClass("homeRoll");
}, (function() {
$("li.home").removeClass("homeRoll");
});
Make sure your variable homePageImage is written as a string:
var homePageImage = "#logo"
not an object:
var homePageImage = $("#logo")
or it won’t work.
Hello from Russia!
Can I quote a post in your blog with the link to you?
Absolutely! As long as I didn’t say anything incriminating