Posts: 84
Location: Brussels, Belgium
|
I have a navigation with a few links, e.g. :
Code:
<a href="?content=link1">link1</a>
<a href="?content=link2">link2</a>
<a href="?content=link3">link3</a>
The rest of the page contains 2 columns:
one for a music player or video's
one for the content that changes by clicking the links.
(both columns in seperate divs)
In the content column, I added:
Code:
<?php
$content = $_GET['content'];
if (empty($content)) {
include ("main.php");
} else {
include("$test.php");
}
?>
When there's some music playing in the first column, and I click a link so the content changes in the other column, the music stops, because the page needs to reload.
How can I get something that only reloads the content column and prevents the whole page to load?
-
Last edited by Bulevardi; 11-29-2008 at 06:30 AM..
|