【问题标题】:Open remote page as modal view in bootstrap在引导程序中将远程页面作为模式视图打开
【发布时间】:2018-04-13 07:09:46
【问题描述】:

我认为这是很简单的想法,但我在互联网上找不到。

如何将外部页面(如 https://google.com/ )作为模式视图打开?

不想想要:

  • 在新标签页中打开页面
  • 在新的弹出窗口中打开页面,例如:

    onClick="MyWindow=window.open('http://www.google.com','MyWindow',width=600,height=300)

  • 按照here的描述打开我自己预先准备好的页面

有没有办法做到这一点?应该没错吧?

【问题讨论】:

    标签: django https modal-dialog bootstrap-modal


    【解决方案1】:

    你可以尝试使用 iframe:

    <iframe src="https://google.com"></iframe>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-01-19
      • 1970-01-01
      • 2013-07-31
      • 1970-01-01
      • 2014-02-22
      • 1970-01-01
      • 2014-04-07
      • 2022-10-23
      相关资源
      最近更新 更多