模态窗口中的链接

    技术2026-01-02  2

    点击模态窗口里的一个链接( <a   href=...> 这种),都会弹出一个新窗口,如何解决?

     

    方法1: 在模态窗口页面里加上这一句: <head>       <base   target="_self" /> </head> 方法2 模态窗口里的页面放在frame或iframe里

     

    方法1比较简单。

    最新回复(0)