i'm trying to put an anitmation to class that works, but no at all because i have one property that's doesn't setting and i know why check this.
$(document).ready(initialize);
function initialize() {
$(".imagePanel").hover(mouseOver,mouseOut);
}
function mouseOver() {
$(this).animate({
border:"2px"
opacity: 0.25
}, 100);
}
function mouseOut() {
$(this).animate({
border: "2px",
opacity: 0.25
}, 100);
}
the problem it's first that the property border it's not setting and second that don't have any idea about to remove the opacity in the function mouse out. The borders are setting to a div element. Thanks.