Код:
<html>
<head>
<STYLE type=text/css>
#background1
{
height: 597px;
width: 602px;
background: url(kartinka1.jpg) no-repeat;
background-position: right top;
float: left;
}
#background2
{
height: 597px;
width: 602px;
background: url(kartinka2.jpg) no-repeat;
background-position: right top;
float: left;
}
</style>
</head>
<body>
<div>
<a href="">link</a>
</div>
<div id="background1">
</div>
</body>
</html>
Как става номера, когато отидеш в/у link1, #background1 да се сменя на #background2 (така че да се смени kartinka1.jpg на kartinka2.jpg)?