简体   繁体   English

在移动图像上完成网站布局

[英]Complete Website layout on a mobile image

So I have a full fledged website which has 100s of webpages.所以我有一个完整的网站,其中有 100 多个网页。 Now, what my requirement is that whole website layout should be displayed on a mobile image when we click a button in the viewing device.现在,我的要求是当我们单击查看设备中的按钮时,整个网站布局应该显示在移动图像上。 To be more clear, suppose we have facebook website.更清楚地说,假设我们有 facebook 网站。 I'm on the log in page, when I click on sign up page, new webpage should open up which will have a mobile device picture(iphone or android) and this picture will have whole facebook site on it.我在登录页面,当我点击注册页面时,应该会打开一个新网页,其中会有一张移动设备图片(iphone 或 android),这张图片上会有整个 facebook 网站。 It would be kind of like using facebook website on real mobile device.这有点像在真实的移动设备上使用 facebook 网站。 In the image imagine the red bordered square is a mobile device picture and on top of it I want to display complete facebook website在图像中想象红色边框的正方形是移动设备图片,在它上面我想显示完整的 facebook 网站

My question is what's the best possible way to achieve this?我的问题是实现这一目标的最佳方法是什么? And solution should be responsive in all the devices.并且解决方案应该在所有设备中都有响应。

I am not shure if i understand you, but...如果我理解你,我不确定,但是...

you could use an iFrame and resize it to fit into the screen of an image of an iPhone.您可以使用 iFrame 并调整其大小以适合 iPhone 图像的屏幕。 But iFrames have some restrictions.但是 iFrame 有一些限制。 I think safari for example do not allow cookies in iFrames.例如,我认为 safari 不允许在 iFrame 中使用 cookies。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM