PDA

View Full Version : General question regarding page layout


chinni
04-16-2003, 01:07 AM
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

Jason
04-16-2003, 01:21 AM
the only way I can think of is with frames, which it is all possible, meaning all your ideas cna be done with frames.


Jason

Skyzyx
04-16-2003, 01:31 AM
There are two ways that come to mind to do this without "frames": iframes, or lots of pages.

Typically, I do the latter. All pages are exactly the same, except the content changes. Yes a new page will load every time you click a link, but the idea is the same, more or less.

Actually, the third thing would be to have your content contained within different DIV's for different pages. Then, with a javascript link, you could toggle the visibility on/off for different pages. It'd be alot of work, but it might be what you're looking for...

Vladdy
04-16-2003, 01:35 AM
What's so wrong with reloading banner and navigation with the page. :rolleyes:
If you really have to do that see: http://www.codingforums.com/showthread.php?s=&threadid=16205

Catman
04-16-2003, 06:43 PM
Another way: Use an object tag to embed HTML content files.

brothercake
04-17-2003, 11:32 AM
What Catman said - the <object> can be used to create the kind of multiple document intefrace you want - your image links simply change the object's source document

But nb, you will still need a series of static pages for non-javascript browsers.