Page 1 of 1

How can I refresh one code without refreshing the hole site?

Posted: Thu Jun 29, 2006 1:30 am
by tsalexey544
How can I refresh one code without refreshing the hole site?

and is it posible to create frames using php? and how to make tham in one size( so no one could move within the frames)?

Posted: Thu Jun 29, 2006 1:52 am
by Weirdan
How can I refresh one code without refreshing the hole site?
Pardon me... one what?

Posted: Thu Jun 29, 2006 2:40 am
by Chris Corbyn
Your question makes no sense but I'll stab a guess that you need AJAX.

Frames are HTML.... PHP doesn't care about them.... if you google on how to make frames you'll find a jungle of information out there ;) Look at IFrames too.

Posted: Thu Jun 29, 2006 3:19 am
by Jenk
Also remember you don't necessarily need frames for AJAX to work.

You can use the attribute 'innerhtml' to populate a div, span, td, etc. with the response from the xmlhttprequest object.

Posted: Thu Jun 29, 2006 4:28 am
by Chris Corbyn
Jenk wrote:Also remember you don't necessarily need frames for AJAX to work.

You can use the attribute 'innerhtml' to populate a div, span, td, etc. with the response from the xmlhttprequest object.
Agreed, if you're going to use AJAX you might as well use the DOM extensively.

Posted: Thu Jun 29, 2006 6:50 am
by CoderGoblin
Look in the tutorial sections... XMLHttp tutorial (who's online example) for one possible technique.