webpage divided in different sectors

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
yamobe
Forum Newbie
Posts: 13
Joined: Mon Jun 19, 2006 9:42 am

webpage divided in different sectors

Post 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
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

oh no! not frames! please ;)

In our useful posts thread take a look at Proper use of $_GET with includes
yamobe
Forum Newbie
Posts: 13
Joined: Mon Jun 19, 2006 9:42 am

Post 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
User avatar
technofreak
Forum Commoner
Posts: 74
Joined: Thu Jun 01, 2006 12:30 am
Location: Chennai, India
Contact:

Post 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]
Post Reply