I have a page with a navigation column and a data column that I wish to control separately, both sides use forms. When I scroll down and click on a button on navigation side I want the data side to change accordingly but I want the nav side to stay put (no repositioning).

My first two thoughts is frames or separate windows -- either is fine for me. But how can I control the data side from the nav side? Can I send a PHP script command to another frame/window or can PHP only affect the current window?

7 Years
Discussion Span
Last Post by diafol

Don't use frames! Use Ajax to refresh areas of the page without whole page refresh. It isn't as difficult as it seems. Both Prototype and jQuery libraries make updating a div with new data easy.

1) include the prototype library (<script>).
2) create a js file with your js functions.
3) create a php file which gets data.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.