IE和下拉菜单触发弹出窗口阻止程序

时间:2021-08-30 07:18:56

I have no idea why this is happening. I have some very straightforward code, replicated below, which works fine in all browsers except for IE 7 & 8. In those browsers, trying to expand the list of options in the select triggers the built-in Pop-up blocker bar.

我不知道为什么会这样。我有一些非常直接的代码,在下面复制,除了IE 7和8之外,它在所有浏览器中都能正常工作。在这些浏览器中,尝试扩展select中的选项列表会触发内置的弹出窗口阻止栏。

What gives?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>
        Test
    </title>
</head>
<body>
    <form action="/dynamic/main.4d?Support&amp;demo2004_01&amp;RD" method="post" id="signup" name="signup">
        <fieldset id="selects">
            <select name="bedrooms">
                <option selected="selected" value="">
                    Bedrooms *
                </option>
                <option value="0">
                    Studio
                </option>
                <option value="1">
                    1 Bedroom
                </option>
                <option value="1.5">
                    Flex 2 Bedrooms
                </option>
                <option value="2">
                    2 Bedrooms
                </option>
                <option value="2.5">
                    Flex 3 Bedrooms
                </option>
                <option value="3">
                    3 Bedrooms
                </option>
            </select>
        </fieldset>
    </form>
</body>
</html>

3 个解决方案

#1


17  

You said "I am using TredoSoft MultipleIEs "

你说“我正在使用TredoSoft MultipleIEs”

I am having the EXACT same problem, and I am using Internet Explorer Collection to run multiple versions on one pc. Therefore, I conclude the problem is with Multiple IEs on a single machine!!

我有完全相同的问题,我正在使用Internet Explorer Collection在一台PC上运行多个版本。因此,我总结问题是在一台机器上使用多个IE!

Hope this helps people, for your response helped me.

希望这有助于人们,因为你的回应帮助了我。

#2


3  

Have found the solution. This is fixed in the latest version of Internet Explorer Collection (released 1st may 2009)

找到了解决方案。这是在最新版本的Internet Explorer Collection(2009年5月1日发布)中修复的

http://finalbuilds.edskes.net/iecollection.htm

#3


0  

Hm... Strange. Seems to be a problem inside your browser/popup blocker... What about selects on other websites? Do they work as intended? Have you tried stripping it down further:

嗯...奇怪。似乎是您的浏览器/弹出窗口阻止程序中的问题...如何在其他网站上选择?他们按预期工作吗?你有没有尝试进一步剥离它:

<form>
<select>
<option>blah</option>
</select>
</form>

just to pinpoint the problem?

只是为了查明问题?

#1


17  

You said "I am using TredoSoft MultipleIEs "

你说“我正在使用TredoSoft MultipleIEs”

I am having the EXACT same problem, and I am using Internet Explorer Collection to run multiple versions on one pc. Therefore, I conclude the problem is with Multiple IEs on a single machine!!

我有完全相同的问题,我正在使用Internet Explorer Collection在一台PC上运行多个版本。因此,我总结问题是在一台机器上使用多个IE!

Hope this helps people, for your response helped me.

希望这有助于人们,因为你的回应帮助了我。

#2


3  

Have found the solution. This is fixed in the latest version of Internet Explorer Collection (released 1st may 2009)

找到了解决方案。这是在最新版本的Internet Explorer Collection(2009年5月1日发布)中修复的

http://finalbuilds.edskes.net/iecollection.htm

#3


0  

Hm... Strange. Seems to be a problem inside your browser/popup blocker... What about selects on other websites? Do they work as intended? Have you tried stripping it down further:

嗯...奇怪。似乎是您的浏览器/弹出窗口阻止程序中的问题...如何在其他网站上选择?他们按预期工作吗?你有没有尝试进一步剥离它:

<form>
<select>
<option>blah</option>
</select>
</form>

just to pinpoint the problem?

只是为了查明问题?