PDA

View Full Version : webpage sections...


itsonlybarney
12-19-2004, 02:28 AM
is it possible to load a whole page and then use links to make the different sections visible....

tsguitar2004
12-19-2004, 03:04 AM
Yes.

Can you give more detail on what you want to do?
-ts

xiaodao
12-19-2004, 04:35 AM
i simply use include function. it is good, make your web easy to update

itsonlybarney
12-20-2004, 08:45 AM
i've got 2 pieces of information that are related......i want both sets of information to load.....when the 1st piece of info is displayed i want a link that loads the 2nd piece of info while making the 1st peice of info disappear without the whole page loading again.....

raf
12-20-2004, 08:59 AM
PHP can only process a pagerequest and then send a complete new page to the browser. So you either need to load this page in a frame or iframe, or you need to look for a clientside sollution (like javascript --> toggle divs for instance)

itsonlybarney
12-20-2004, 09:33 AM
thank you.....i thought php cud have done the same task.....