Witam, jestem początkującym w php,
potrzebuje pomocy aby nie odświeżało całej mojej strony po kliknięciu na link, który otwiera się na środku strony.
Mam w "stopka.php" flash music player i nie chce aby po każdym wejściu na inną podstronę muzyka rozpoczynałaby się od początku.
Proszę o pomoc.
To kod mojego index.php:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?php
// zmienna potrzebna do prawidlowego wczytania includowanych plikow
$add_site = true;
include "include/function.php";
?>
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">
<META NAME="ROBOTS" CONTENT="INDEX,FOLLOW,ALL">
<META HTTP-EQUIV="Content-Language" CONTENT="pl">
<META NAME="description" CONTENT="www">
<META NAME="keywords" CONTENT="www">
<META NAME="author" CONTENT="www">
<META HTTP-EQUIV="Reply-to" CONTENT="www">
<META NAME="revisit-after" CONTENT="2 days">
<TITLE>www</TITLE>
<link rel="Stylesheet" type="text/css" href="css/style.css" />
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="js/pngfix.js"></script>
<![endif]-->
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
</head>
<BODY bgcolor="#241400">
<center>
<table border="0" cellspacing="0" cellpadding="0">
<tr width="1000" height="126"><td colspan="3" width="1000" height="126" background="img/logo.png"></td></tr>
<tr width="1000" height="40">
<td width="315" height="40" background="img/menugora1.png"></td>
<td width="105" height="40" background="img/menugora2.png"></td>
<td width="580" height="40" background="img/menugora3.png"><?php include "include/menu_gora.php"; ?></td>
</tr>
<tr width="1000" height="804" style="background-image: url(img/logo2.png); background-position: top left; background-repeat: no-repeat;" >
<td width="315" height="804" valign="top" style="background-image: url(img/menulewo2.png); background-position: top left; background-repeat: no-repeat;" ><?php include "include/menu_lewo.php"; ?></td>
<td colspan="2" width="685" height="804" style="background-image: url(img/srodek.png); background-position: bottom; background-repeat: no-repeat;" valign="top"><?php
$go = $_GET['go'];
if(is_file("page/$go.html")) include "page/$go.html"; else echo "<br>Nie ma takiej strony..."; }
else include "page/start.html";
?></td>
</tr>
<tr width="1000" height="30">
<td width="990" height="30" colspan="3" align="right" valign="center" background="img/stopka.png"><?php include "include/stopka.php"; ?></td>
</tr>
</table>
</center>
</body>
</html>