• 请不要在回答技术问题时复制粘贴 AI 生成的内容
dhnUphp
V2EX  ›  程序员

现在页面嵌套都有哪些比较好的方法。

  •  
  •   dhnUphp · Apr 20, 2016 · 3605 views
    This topic created in 3709 days ago, the information mentioned may be changed or developed.
    现在有一个页面嵌套的需求,我需要把其他各种类型的页面套进自己的页面中。
    本来是用 iframe 的。结果因为需要适配的页面太多,放弃了。
    现在直接去取出页面的信息,输出到页面,但由于有的页面的 css,js 用的相对路径,所以拿过来还是有问题。
    所以现在想请教一下有没有什么比较好的解决方案。
    3 replies    2016-04-20 18:15:37 +08:00
    knife2333
        1
    knife2333  
       Apr 20, 2016
    我来水贴, naive
    hrong
        2
    hrong  
       Apr 20, 2016 via Android
    server side including?看你用什么服务端技术了。。。
    chairuosen
        3
    chairuosen  
       Apr 20, 2016
    砍掉这个需求
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3639 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 00:41 · PVG 08:41 · LAX 17:41 · JFK 20:41
    ♥ Do have faith in what you're doing.