在一帧中运行怪癖模式,在另一帧中运行标准模式? [英] Run quirks mode in one frame and standards mode in another?

查看:97
本文介绍了在一帧中运行怪癖模式,在另一帧中运行标准模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个旧的应用程序使用框架(而不是iframe)被写回IE6天,所以它运行在怪异模式。

I have an old application that uses frames (not iframes) was was written back in the IE6 days so it runs in quirks mode.

是可能的IE 7或8)有一个框架仍然在怪异模式和另一个在标准模式或必须整个浏览器在一个模式或另一个?

Is it possible (Using IE 7 or 8) to have one frame still in quirks mode and another in standards mode or must the whole browser be in one mode or another?

我一直在尝试没有成功。

I've been trying with no success.

我看过此回答,适用于iframe,但是对于普通旧框架呢?

I've seen this answer, that applies to iframes, but what about plain-old-frames?

推荐答案

我相信你不能像使用iframe一样使用框架选项。正如链接问题的答案所说,iframe中的目标不依赖于父代。在常规框架中,页面都依赖父对象。我不认为你可以分离类型。

I believe that you don't get the same option with frames as you do with an iframe. As the linked question's answer stated, the target in an iframe is not dependent upon the parent. In regular frames the pages all rely on the parent. I don't think you can separate the types out.

这篇关于在一帧中运行怪癖模式,在另一帧中运行标准模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆