Фотогалерея для сайта
Slideshow
Для смены фото пользуйтесь клавишами клавиатуры стрелками ЛЕВО-ПРАВО.
Фотогалерея
html код для вставки:
<script type="text/javascript">
document.onkeydown = keyHit;
var thisPic = 0;

function keyHit(evt) {
var myPix = new Array("Адрес вашего фото-1","Адрес вашего фото-2","Адрес вашего фото-3","Адрес вашего фото-4");
var imgCt = myPix.length-1;
var ltArrow = 37;
var rtArrow = 39;

var thisKey = (evt) ? evt.which : window.event.keyCode;

if (thisKey == ltArrow) {
chgSlide(-1);
}
else if (thisKey == rtArrow) {
chgSlide(1);
}
return false;

function chgSlide(direction) {
thisPic = thisPic + direction;
if (thisPic > imgCt) {
thisPic = 0;
}
if (thisPic < 0) {
thisPic = imgCt;
}
document.getElementById("myPicture").src = myPix[thisPic];
}
}

</script>
</head>
<body bgcolor="#FFFFFF">
<center>
<img src="Адрес вашей фото-заставки" id="myPicture" width="500" height="375" alt="Slideshow" /><br />
<FONT color="#CC0000" face="Garamond" size="6">Ваш текст.</font>