Salve ho uno script che al apssaggio del mouse su di una immagine questa si ingrandisce fino ad un tot di px:
codice:
function dimimage(tag){
$("#"+tag).hover(function(){
$(this).animate({width: "110", height: "110"}, "slow");
$("#mouse"+tag).show("slow")
}, function(){
$(this).animate({width: "100", height: "100"}, "slow");
$("#mouse"+tag).hide("slow");
}
);
};
...
<img id=\"$RecNews[IDAlbum]\" src=\"images/articoli/$RecNews[IDC]/$RecNews[ImmagineLocandina]\" style=\"cursor:pointer\" onclick=\"location.href='page/article.php?idalb=$RecNews[IDAlbum]'\" width=\"100\" onmouseover=\"dimimage('$RecNews[IDAlbum]')\">
...
non cpisco il perchè lo scripf funge dopo il seccondo passaggio del mouse sull'immagine sul primo non succede nulla.