Page 1 of 1

webpage divided in different sectors

Posted: Mon Jun 19, 2006 10:10 am
by yamobe
What I want to do is to separate the webpage in 2 halfs so the half in the left has buttons that points to different locations which are displayed in the right side of the webpage, without actualizing the left part of the page, only the right side.

I hope you understand what I am trying to explain

Posted: Mon Jun 19, 2006 12:49 pm
by Benjamin

Posted: Mon Jun 19, 2006 2:43 pm
by John Cartwright
oh no! not frames! please ;)

In our useful posts thread take a look at Proper use of $_GET with includes

Posted: Mon Jun 19, 2006 5:59 pm
by yamobe
OH.. finally I have my answer, great

I will take a look to Proper use of $_GET with includes, but I think frames are just what I wanted.

Thank you guys

Posted: Tue Jun 20, 2006 2:16 am
by technofreak
A simple work-around is use tables and named anchors. Use the first cell ( first <td>) to be the left half you want, where you can put the links. On the right hand side ie the next cell of the row, exists your content. Use <a name=""></a> on the content where you want to jump over using the links. In the left side links use <a href="fiilename#anchor"></a> corresponding to the named anchors.

Now when you click on the links, it jumps to the corresponding anchors on the content in the right hand side. To know about named anchors, see HTML Links Tutorial http://www.w3schools.com/html/html_links.asp. :)[/url]