开窗器适用于Firefox,但不适用于IE。 [英] Window opener works in Firefox, but not IE.

查看:95
本文介绍了开窗器适用于Firefox,但不适用于IE。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。


我只是想让用户从网页上的缩略图中加载更大的图像。


我使用(在标题中)类似于:

Hi.

I am just wanting to enable users to load a larger image from a thumbnail on a web page.

I use (in the header) something like:

展开 | 选择 | Wrap | 行号

推荐答案

Heya,APB。欢迎来到TSDN!


发布源代码时请使用CODE标签。请在下次发布时查看页面右侧的REPLY GUIDELINES。


IE是否会生成错误,或者它是否只是不执行任何操作?


另外,我很好奇为什么你有一个window.open的包装器,它什么都不做。


换句话说,下面的语句是相同的,除了第二个语句导致更多开销:
Heya, APB. Welcome to TSDN!

Please use CODE tags when posting source code. See the REPLY GUIDELINES on the right side of the page next time you post.

Does IE generate an error, or does it just not do anything?

Also, I''m curious why you have a wrapper for window.open that doesn''t do anything.

In other words, the following statements are identical, except that the second statement causes more overhead:
展开 | 选择 | Wrap | 行号


您好。


谢谢您的欢迎。


单击a时没有任何反应在IE7中的缩略图(尚未尝试其他版本的IE。


对于代码中的重复感到抱歉,我目前有人流感!


谢谢。


APB。


Hi.

Thanks for the welcome.

Nothing happens when clicking on a thumbnail when in IE7 (have not tried other versions of IE.

Sorry about the duplication in code, I have man-flu at present!

Thanks.

APB.




Heya,APB。欢迎来到TSDN!


发布源代码时请使用CODE标签。请在下次发布时查看页面右侧的REPLY GUIDELINES。


IE是否会生成错误,或者它是否只是不执行任何操作?


另外,我很好奇为什么你有一个window.open的包装器,它什么都不做。


换句话说,下面的语句是相同的,除了第二个语句导致更多开销:
Heya, APB. Welcome to TSDN!

Please use CODE tags when posting source code. See the REPLY GUIDELINES on the right side of the page next time you post.

Does IE generate an error, or does it just not do anything?

Also, I''m curious why you have a wrapper for window.open that doesn''t do anything.

In other words, the following statements are identical, except that the second statement causes more overhead:
展开 | 选择 | Wrap | 行号


Heya APB。


我想知道如果你试试这个是否会起作用:
Heya APB.

I wonder if it would work if you were to try this:
展开 | 选择 | < span class =codeLinkonclick =WordWrap(this);> Wrap | 行号


这篇关于开窗器适用于Firefox,但不适用于IE。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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