A
A
amalchikov2014-08-26 22:39:49
PHP
amalchikov, 2014-08-26 22:39:49

How to arrange frame but not on html?

There is a table. The menu is in the left cell. In the center is the content area. I click on the menu links on the left, pages are loaded in the center, while the rest of the page is static (it turns out something like a frame), only the center changes. I read that you can organize using php, where can I get such an engine?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey, 2014-08-26
Protko @Fesor

Remember, everything that happens in the browser is done only in HTML + Javascript. PHP - on the server and provides data or the same HTML.
As for your task - AJAX.

E
Evgeny Petrov, 2014-08-26
@Petroveg

There is no PHP on the client. There are markup languages ​​(HTML, SVG, etc.), style markup language (CSS) and client-side programming language (Javascript etc.). And PHP is not.
What you describe can be done on an iframe or with AJAX, but either way would require working with History etc.
How to make a block that doesn't reload?
How to write a single page javascript web application?

V
Vladlen Grachev, 2014-08-26
@gwer

PHP won't help here. It can be useful, but for secondary tasks. You need AJAX(JS). Dig in his direction.

A
amalchikov, 2014-08-30
@amalchikov

80acac8365e54992b5f25df82cecfbcc.png
I need to organize like in the picture. I load the menu, it's static, I click on the links, and all the content appears in the middle, i.e. the menu and logo are permanently static. I don’t want to do it through frames, all the time scrolling and so on. (menu can be loaded via php include)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question