Ciao a tutti,
come mai questo js:
<script>
<!--
// randomImage(['images/foto-home1.jpg',280,187,'images/foto-home2.jpg',280,187,'images/foto-home3.jpg',280,187]);
// * Dependencies *
// this function requires the following snippet:
// JavaScript/Randomizers/randomNumber
function randomImage(imgArr)
{
var imgSrc, imgW, imgH, r;
r = randomNumber(imgArr.length / 3)-1;
imgSrc = imgArr[r * 3];
imgW = imgArr[(r * 3)+1];
imgH = imgArr[(r * 3)+2];
document.write('[img]+imgSrc+[/img]');
}
//-->
</script>
non mi funziona in quetsa pagina![]()
![]()
![]()