Group independent websites into a single WEB type FRAME [closed]

2

I have 3 different web templates each with their respective assets (css, js, etc.). What I want is to join them in one, I was trying with frames but it does not work out because the window starts. Try PHP saving each web into a variable with a proper function of PHP called file_get_contents and then print for one another on, however when I try it will distort and confuse the codes of the assets and the web shows me very different disordered.

Help please, I know that this is something very easy for many, however I have a client that came up with 3 different and good templates!

    
asked by Jsuola 21.11.2016 в 05:57
source

2 answers

0

Assembles all in one html, referencing everything from html to each different folder or css file for each design of each of the 3 websites look at each part where you want, adding the corresponding in html .
What you want to do is a bit complicated and risky, because you have to consider that maybe one of the 3 websites is responsive and the other not. You will have to check all the code to see what measures each design presents. I would not recommend for anything you do that with iframes, or rare tricks because browsers and devices can go crazy interpreting what you've done.

I hope to help you with my answer.
Although it's a question too broad and you might want to close it.

    
answered by 21.11.2016 в 08:42
0

Although I am not very supportive, the <iframe> tag could help you in what you need, although I have seen that you have tried to use frames, I do not know if you referred to this, but it would allow you to load each web and its corresponding assets without mix.

Although as @Marc said you would have to analyze each web, if you put a responsive in a very small ifrmae it would be shown in mobile format, so it would have to be analyzed beforehand.

Send some piece of code if it does not work, to see if we all see what may be happening to you.

Greetings!

    
answered by 22.11.2016 в 13:08