CODE
<div id="menu" style="POSITION: relative;z-index: 4; top:-40px;">
<a href="index.php?go=1"><img src="Przyciski/Glowna.png" width="150px" border="0" onmouseover="this.src = 'Przyciski/Glowna1.png'" onmouseout="this.src = 'Przyciski/Glowna.png'"/></a>
<a href="index.php?go=2"><img src="Przyciski/Prezenterzy.png" width="150px" border="0" onmouseover="this.src = 'Przyciski/Prezenterzy1.png'" onmouseout="this.src = 'Przyciski/Prezenterzy.png'"/></a>
<a href="index.php?go=3"><img src="Przyciski/Ramowka.png" width="150px" border="0" onmouseover="this.src = 'Przyciski/Ramowka1.png'" onmouseout="this.src = 'Przyciski/Ramowka.png'"/></a>
<a href="index.php?go=4"><img src="Przyciski/Ksiega.png" width="150px" border="0" onmouseover="this.src = 'Przyciski/Ksiega1.png'" onmouseout="this.src = 'Przyciski/Ksiega.png'"/></a>
<a href="index.php?go=5"><img src="Przyciski/Lista.png" width="150px" border="0" onmouseover="this.src = 'Przyciski/Lista1.png'" onmouseout="this.src = 'Przyciski/Lista.png'"/></a>
<a href="index.php?go=6"><img src="Przyciski/Rekrutacja.png" width="150px" border="0" onmouseover="this.src = 'Przyciski/Rekrutacja1.png'" onmouseout="this.src = 'Przyciski/Rekrutacja.png'"/></a>
<a href="index.php?go=7"><img src="Przyciski/Regulamin.png" width="150px" border="0" onmouseover="this.src = 'Przyciski/Regulamin1.png'" onmouseout="this.src = 'Przyciski/Regulamin.png'"/></a>
</div>
<div class="tresc">
<?
switch($_GET['go'])
{
default:
include("glowna.php");
break;
case 1:
include("glowna.php");
break;
case 2:
include("prezenterzy.php");
break;
case 3:
include("ramowka.php");
break;
case 4:
include("ksiega.php");
break;
case 5:
include("lista.php");
break;
case 6:
include("rekrutacja.php");
break;
case 7:
include("regulamin.php");
break;
}
?>
</div>
i moje pytanie brzmi: czemu za kazdym razem laduje sie cala strona, a nie tylko ten jeden konkretny div o nazwie tresc??
Oczywiscie ta cala tresc jest w body