Próbuję linkować podstrony na podstawie stronki: http://niekrytykretek.16mb.com/
<!DOCTYPE HTML>
<html lang="pl">
<head>
<title> ... </title>
<meta http-equiv="Content-Language" content="pl" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="..." />
<meta name="keywords" content="..." />
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="css/fontello.css" />
<script type="text/javascript" src="loadPage.js"></script>
<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>
</head>
<body onload = "slideshow();"
background="gun_metal.png"> <!-- This pattern is from www.subtlepatterns.com -->
<div id="head">
...
</div>
<div id="menu">
<a href="#" onclick="loadPage('info.html')">
<div class="option">Strona główna</div>
</a>
<a href="#" onclick="loadPage('galeria.html')">
<div class="option">Galeria</div>Galeria
</a>
<a href="#" onclick="loadPage('referencje.html')">
<div class="option">Referencje</div>
</a>
<a href="#" onclick="loadPage('kontakt.html')">
<div class="option">Kontakt</div>
</a>
<div class="clear"></div>
</div>
<div id="body">
<div id="content"><!-- podstrona !-->
<body onload="loadPage('galeria.html')">
</body>
</div>
</div>
</div>
<div id="footer">
...
</div>
</body>
</html>
function loadPage(file) {
$('#content').load(file);
}
Co robię źle, dlaczego href="#"?