Hi, i have this page, i removed the other codes... this should do
PHP Code:
<?php
if(isset($_GET['cmd']))
{
switch($_GET['cmd'])
{
//site navigation
case "home": include("data/home.php"); break;
case "files": include("data/files.php"); break;
case "datums": include("data/datums.php"); break;
case "fotos": include("data/fotos.php"); break;
default: include("data/home.php"); break;
}
}
else{ include("data/home.php"); }
?>
PHP Code:
<div id="main"><?php printOption(); ?></div>
Every page contains a php function
PHP Code:
<?php
function printOption()
{
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<script language="JavaScript" type="text/JavaScript" src="scripts/script.js"></script>
<style type="text/css">
<!--
body {
background-color: #000000;
}
.style1 {color: #00FF00}
-->
.linky {
cursor: pointer;
font-family: "Courier New", Courier, mono;
font-size: 9pt;
font-weight: bold;
color: #C6B652;
}
</style>
</head>
<body>
<div style="padding-bottom: 5px;">
<p> </p>
<p align="center" class="style1">Hello en welkom op de enige echte officieele site van 5WW6... </p>
<p align="center" class="style1">Enjoy ur stay^^</p>
<p align="center" class="style1"> </p>
<p><strong style="color: #eeeeee;">Update Geschiedenis :</strong></p>
<span class="linky" onclick="showBranch('23 November 2004')" id="23 November 2004-link">[-] 23 November 2004 </span> <br>
<div class="style1" id="23 November 2004" style="display: block; padding-left: 0px">
Vernieuwingen<hr align="left"><ul>
<li> nieuw fotosysteem, load ze up via de uploader daar, geen meer bij files zette aub;.. thx to seba voor de background en de bewerkte klasfoto, cheers m8</li>
<li> kleine aanpassingen off the record</li>
</ul>
</div>
And so on...
<?php
}
?>
the content is loaded in a page of 500*1000, how do i make the page in his borders?(the page contains a script to collaps and open texts(its an update site) so when i open all the dates of update, the page opens it and exeeds the border, i tried frames..., iframes... but i cant get it to work... how do i ?
Thx
Snake
|