Reply
php problem
Old 11-26-2004, 09:52 AM php problem
Novice Talker

Posts: 12
Location: Belgium
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>&nbsp;</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">&nbsp;</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
snake903 is offline
Reply With Quote
View Public Profile Visit snake903's homepage!
 
When You Register, These Ads Go Away!
Old 11-26-2004, 10:30 AM
Kyrnt's Avatar
The Post-Mod Years

Posts: 2,536
Location: Western Maryland
I don't fully understand your question. The only question I saw here was "how do i make the page in his borders?" Whose borders? Can you please restate your question?
__________________
—Kyrnt
Kyrnt is offline
Reply With Quote
View Public Profile Visit Kyrnt's homepage!
 
Old 11-26-2004, 01:14 PM
Novice Talker

Posts: 12
Location: Belgium
sry, here s some xtra info

the content is loaded in a page of 500*1000, how do i keep the page in his borders? even when i add some text , and the size is bigger than 500*1000, i want it to stay in his borders, i want that a scrollbar appears...

thx
snake903 is offline
Reply With Quote
View Public Profile Visit snake903's homepage!
 
Old 11-26-2004, 01:25 PM
Novice Talker

Posts: 12
Location: Belgium
http://5ww6.kristofmattei.be/index.php
login = needhelp
pw = help

this is the site, expand all the dates, and you should see that the update page expainds his borders... thx
snake903 is offline
Reply With Quote
View Public Profile Visit snake903's homepage!
 
Old 11-27-2004, 12:19 PM
Novice Talker

Posts: 12
Location: Belgium
solved, used an iframe
snake903 is offline
Reply With Quote
View Public Profile Visit snake903's homepage!
 
Reply     « Reply to php problem
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.14641 seconds with 12 queries