On Feb 12, 7:54 am, "ben" <ben...@o2.co.uk> wrote:
> hi everyone
>
> i have started creating a webpage using css / xhtml, with a 3 pane
> layout - logo along the top, then a small left column with links to
> different pages, and a right column for the content
>
> i have a quick question about how i can make different content appear
> in the right column when the different links are clicked on the left
> menu column? for example, about us, location , contact details..
>
> i tried a javascript example (using the visibility variables) which
> works to an extent, but if you click on a link twice the content
> disappears and you have to click another link to get content back
>
> id like to keep all the content in one file, instead of using
> different htm pages for each thing
>
> any ideas let me know? thanks
PHP includes should do what you want, try out the following code.
<?php include("somefile.php"); ?>
I hope that helps.
--
Regards Chad.
http://freewebdesign.cjb.cc