PHP Menu/Template help

Zaf

Zaf

Soldato
Joined
16 Jan 2003
Posts
7,055
Location
Derbyshire
Hi Guys,

Just starting to get back into PHP and I can for the life of me remember how to create a basic site useing tables instead of html frames.

I want to have two tables, the first will have external links in that will open up in the second table. Getting rid of the need to use HTML Frames.

Can anyone start me off please?

Cheers
Zaf,
 
Had a quick look at XmlHttpRequest() but thats not the way I use to or know how to do it. Before it was just some really simple PHP code.
 
Cheers Rob think your right but how do I use it in the way I want :confused:

Getting links from table 1 to open in table 2

Cheers
Ryan
 
Cheers Dan I think i've been looking at this the wrong way :o

I need a header.php and a body.php both displayed on the same index.php useing include I guess. then I need the header links displayed in the body

Does that sound right? If so what code do I use with the links in header.php to be displayed in body.php

Cheers
Zaf,
 
having another look I dont think that will work either, any ideas on a better way of displaying an external website link from top of the page onto main page? So the external links are always displayed at the top as if you were useing a frameset?

Cheers Again
Zaf,

sorry for sounding stupid guys its been a long time since I touched any type of webdesign code :-p
 
Cheers for all the input guys, i've gone back to just useing frames but doing it this way I cant get images right to the top of the page e.g

framevt3.jpg


here I have two frames, the top frame has a background gradient image and a logo image but I cant get the logo to align up.
 
Already got border=0 heres the code

Index
Code:
<html>

<frameset rows="40,*" border="0">

  <frame noresize="noresize" src="menu.php">

  <frame src="main.php" name="showframe">


</frameset>

</html>

Menu
Code:
<html>
<head>
<title>Windows Monitor</title>

</head>
<body background="images/Untitled-1_03.png" scroll="no">

<img src="images/Untitled-1_02.png" width="195" height="40" alt="">


</body>
</html>

Cheers
Zaf
 
Last edited:
If I set the border like this I still get the same result.

Code:
<html>
<head>
<title>Windows Monitor</title>

</head>
<body background="images/Untitled-1_03.png" scroll="no" border="0">

<img src="images/Untitled-1_02.png" width="195" height="40" alt="">


</body>
</html>

Any ideas?
 
I've tryed inserting a css making the margin zero pixels but I still get the same effect I cant get any images right to the top of the page
 
Cheers for the reply furnace, It's just going to be a front end for loading up Monitoring pages NTOP, Cacti etc and Firewall info.

Think i'm just going to create a windows form in C# to handle it all
 
Please please please don't use frames. Every time a website designer uses frames a pixie is sent back to 1998.


Have you not read any of the above :-p


Ok Guys I've got it sorted now useing css :)

I was only setting the margin in the body before and not the image :o

Also got a nice bit of javascript that will refresh the bottom exteral link without refreshing the whole frameset
 
Back
Top Bottom