Witam
Po kliknięciu w menu powinien się przeładować tylko jeden div - najlepiej będzie jak pokaże kod:
index.php:
<?php
{
$page = $_GET['page'];
} else
{
$page = 'start';
}
switch($page)
{
case 'start':
$pageFile='start.php';
break;
case 'next':
$pageFile='next.php';
break;
default:
$pageFile='start.php';
break;
}
include_once($pageFile);
include_once('html_header.php');
include_once('header.php');
include_once('menu.php');
include_once('footer.php');
?>
menu.php:
<div class="sidebar">
<a href="?page=start" <?php if($_GET['page'] == 'start') { ?>
class="right menuActive" <?php } else { ?> class="right" <?php } ?>>start</a>
<br />
<a href="?page=next" <?php if($_GET['page'] == 'next') { ?>
class="right menuActive" <?php } else { ?> class="right" <?php } ?>>next</a>
</div>
default.css
body {
background-image: url(1.jpg);
height:800px;
width:800px;
}
tutaj wstawiłem tymczasowo stronę:
http://palety-agd.com.plW każdej innej przeglądarce działa dobrze tylko w IE taki problem:(
Pozdrawiam