
October 28th, 2003
03:28 AM
How to do this?
I am building a php web page and I would like to do following:
When someone clicks on left or bottom navigation menu, the only thing it should be changed or reloaded is the content in the right middle table.
I have 2 files - 1st is index.php and 2nd is Proizvodi_main.htm.
How can I do that when someone clicks on a button the content should be reloaded ? changed but not whole page? 

October 28th, 2003
03:31 AM
I'm webmaster :D
Status: Offline!
Learn HTML before PHP may help 
___________________
<? while (!$success) { $try++; } ?>

October 28th, 2003
04:49 AM
I think that this can be done a few ways. (someone correct me if i am wrong)
1] frames :: you would have 3 frames (pages). The header at the top, the nav bar on the left, and the content in the main portion. Clicking on the link in the on the nav bar will call the page and have it load to the content area.
2] iframe :: You have you main page with your header and your nav bar. Then place this code:
<iframe src="/path/to/page.html"></iframe>
This will create a new window similar to a textarea that will show the page that you call to it. The links can target the iframe (target="iframename").
This can also be done with some PHP coding. I am still learning this myself so I will let someone else tell you about that one.
___________________
"I learn so I can Help" - Solow

October 28th, 2003
09:41 PM
This is an HTML question, should probably be moved to client-side.
___________________


October 29th, 2003
03:21 AM
I know that it could be done with iframe, but I would like to keep my table non fixed width and height.
I am almost sure that this could be done in php, but I do not know how?
Please help me :confused:

October 29th, 2003
05:03 AM
I think that you should read this thread:
http://www.tutorialforums.com/showthread.php?s=&threadid=36220
and if that doesnt explain it then maybe try searching google using some keywords and stuff that you can take from the thread.
... that is just about where i am at with the same thing.
Good Luck
___________________
"I learn so I can Help" - Solow

October 29th, 2003
09:04 AM
I don't know PHP but couldn't it be done with the include? Don't take this for granted though because I only know the very very basics of PHP.
___________________


October 29th, 2003
09:15 AM
to do an include you would have to reload the page, he doesn't want to do that.
best to use iframes *shudder*
___________________

[PHP Tutorials]
[In Development]
[Please visit]

October 29th, 2003
10:50 AM
thinking of something witty to put here
Status: Offline!
a nonfixed width and height? why would you want that