Please give the script.

Closed due to the fact that the essence of the question is incomprehensible by the participants of romeo , ReinRaus , PashaPash , Athari , user31688 9 May '15 at 11:25 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • there are frames in general, but their use is not recommended. - LeD4eG
  • And what frame should I use? - Karlos Derga
  • Frames are areas into which independent pages are loaded. If you mark a normal page as elements will be located, then here you define areas into which pages are loaded. - LeD4eG

3 answers 3

Well, you can still on php.

<? //если гет пустой, вставляем индех.пхп if (!$_GET) { include('index.php'); //Если page=any вставляем any.php } elseif ($_GET[page] == any) { include('any.php'); } ?> 

Call: the first page will be loaded by default, the second for example: filename.php? Page = any

    read about jQuery load ()

    simple example:

     <head> <title>Untitled Page</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>//путь до jQuery <script type="text/javascript"> $('document').ready( function() { $('#container').load('ajax/test.html');//страница, которая загрузится в div }) </script> </head> <body> <div id="container">//div, в который страница загрузится </div> </body> 
    • Not sat down to roll) IMHO the best option! - Palmervan 4:08 pm
     <html> <head> <title>Хождение по фреймам</title> </head> <frameset rows="100,*,150"> <frame src="logo.html"> <frame src="content.html"> <frame src="menu.html"> </frameset> </html> 
    • How to select code when answering? - Zein
    • [Markup Syntax] [1]. In order to format the code, select it and click the "101010" button located above the editor. Or, insert 4 spaces before each line of code manually. [1]: hashcode.ru/markdown_help - angry
    • 1. Highlight your code and click on the icon with ones and zeros 2. `` characters (in comments, for example) 3. With the tag pre - Specter
    • thanks) - Zein