Page 1 of 1

General question regarding a webpage

Posted: Tue Apr 15, 2003 7:06 pm
by minds_gifts
Hello,

I've idea about PHP and mysql to some extent.I would like to make it myself clear with HTML and then proceed further.Here is the question.

I want to divide the page into 3 parts.On the left side, I'll put up the navigation.The middle one is the area where I show when I click on the navigation panel.On the right side, I show some images.

STRICTLY I DONT WANT TO USE FRAMES.

For example:

On the navigation I have a link for books.When I click on books, I would like to show in the middle the list of books under two types: Technology and Programming.
Now I click on a book title, some information about the book is shown.Is that Possible when I click on a book title only the middle part is changed and the left and right panels remain un-changed.
I would be glad if somebody can explain me if there is a way.

Many thanks

Posted: Wed Apr 16, 2003 9:50 am
by daven
without frames, you can use imbedded tables. When you click on a link in the left panel, just use PHP to dynamically change the data in the center panel. This will require either page reloads or storing all the data in a list/array. How you go about it is up to you. Example table stuff is below

Code: Select all

<table width="600" cellpadding="0" cellspacing="0">
  <tr>
    <td width="200">
      <table width="100%">
        Content goes here
      </table>
    </td>
    <td width="200">
      <table width="100%">
        Content goes here
      </table>
    </td>
    <td width="200">
      <table width="100%">
        Content goes here
      </table>
    </td>
  </tr>
</table>

Posted: Thu Apr 17, 2003 5:50 am
by minds_gifts
Thanks daven.

When i click on a link which i show on the centre page, only the centre page has to be re-loaded and the left and right panels should not be re-loaded.Is it possible??

Many thanks

Posted: Thu Apr 17, 2003 5:51 am
by twigletmac
minds_gifts wrote:only the centre page has to be re-loaded and the left and right panels should not be re-loaded.Is it possible??
Only with frames or as daven said by storing all the information for all the pages in clientside arrays (which could mean a massive load time for the page initially).

Mac

Posted: Thu Apr 17, 2003 8:03 am
by volka
it is possible with IE. Take a look at the tree on the left side of http://msdn.microsoft.com/library/default.asp
The first time a tree element expands the (childrens's) content is loaded via XMLDocument.load(...), formated via XSLT and inserted into the list.
Only works with windows/IE