Nie mogę zaś ogarnąć jak zrobić by każdy pokazywał inne informacje. Wrzucę wam mój kod i powiedzcie co muszę zmienić.
CODE
<html>
<head>
<script>
function switchInfo()
{
var info = document.getElementById('info')
info.style.display=(info.style.display=='none')?'':'none'
}
</script>
</head>
<body>
<span onclick="switchInfo()">
<a href="#" class="button"/><img src="zabytki.png" style="position: relative; left: 20%"</a>
<a href="#" class="button"/><img src="zabytki.png" style="position: relative; left: 30%"</a>
<a href="#" class="button"/><img src="zabytki.png" style="position: relative; left: 40%"</a>
</span>
<div id="info" style="display:none">
A tutaj masz ladne dodatkowe info.
</div>
</body>
</html>
<head>
<script>
function switchInfo()
{
var info = document.getElementById('info')
info.style.display=(info.style.display=='none')?'':'none'
}
</script>
</head>
<body>
<span onclick="switchInfo()">
<a href="#" class="button"/><img src="zabytki.png" style="position: relative; left: 20%"</a>
<a href="#" class="button"/><img src="zabytki.png" style="position: relative; left: 30%"</a>
<a href="#" class="button"/><img src="zabytki.png" style="position: relative; left: 40%"</a>
</span>
<div id="info" style="display:none">
A tutaj masz ladne dodatkowe info.
</div>
</body>
</html>