<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Разработка</title>
<link rel="stylesheet" href="style.css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("td:first img").click(function(){
$(".slide").animate({marginRight: "1024px"},1000);
});
$("td:last img").click(function(){
$(".slide").animate({marginLeft: "1024px"},1000);
});
});
</script>
<style>
.center {
width: 1000px;
height: 220px;
background-color: gray;
text-align: center;
bottom: middle;
}
.Img {
width: 256;
height: 192;
}
.scroll {
cursor: pointer; /*Курсор для Скролла "Рука"*/
}
.box_for_slide {
width: 995px;
height: 210px;
background-color: red;
}
.slide {
position: relative;
background-color: red;
overflow: hidden;
height: 200px;
}
</style>
</head>
<body>
<table><tr>
<td colspan="3"><img class="scroll" alt="Назад" src="images/backw1x.gif"/></td>
<td class="center"><div class="slide">
<img class="Img" alt="Image" src="images/x01.jpg"/>
<img class="Img" alt="Image" src="images/x02.jpg"/>
<img class="Img" alt="Image" src="images/x03.jpg"/>
</div></td>
<td colspan="3"><img class="scroll" alt="Вперед" src="images/forw1x.gif"/></td>
</tr></table>
</body>
</html>