Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox foes not open links in a popup window using "window.open(this.href..."

  • 4 个回答
  • 3 人有此问题
  • 31 次查看
  • 最后回复者为 cor-el

more options

When clicking on a thumbnail image it's supposed to open the same image in a popup window. (i.e. a bigger version of the same image). Firefox displays in the popup box "Not Found The requested URL /undefined was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. However this does work on other browsers? An ideas why this happens? Example http://motorpride.co.za/inventory.html. Click on any car image in the list

When clicking on a thumbnail image it's supposed to open the same image in a popup window. (i.e. a bigger version of the same image). Firefox displays in the popup box "Not Found The requested URL /undefined was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.'' ''However this does work on other browsers? An ideas why this happens? Example [http://motorpride.co.za/inventory.html ]. Click on any car image in the list

被采纳的解决方案

That is an error in the page source (href instead of src for an image).

That should be onclick="window.open(this.src,,'height=300,width=400,left=200,top=200'); return false;"

Just right click the image and middle-click the View Image entry to see that image in a new tab

定位到答案原位置 👍 0

所有回复 (4)

more options

Same here, but since it also does not work in Opera either, I would assume that the site only works in IE. You have two choices avoid the site, or use IE. Actually you could use an extension to run IE within Firefox which ain't too brilliant -- who you going to blame if the site doesn't work.

You are on Windows so you can use the "Launchy" extension to bring up IE or other browsers, editors, applications, etc (well maybe etc is applications) installed on your system -- relating to the current page, link, image, etc.

more options

选择的解决方案

That is an error in the page source (href instead of src for an image).

That should be onclick="window.open(this.src,,'height=300,width=400,left=200,top=200'); return false;"

Just right click the image and middle-click the View Image entry to see that image in a new tab

more options

thanks mate. that works. never knew about the middle click funtion.

more options

You're welcome

Middle-clicking work for links on web pages, but also for many menu entries that open a page in the current tab and some toolbar buttons like the Home page and location bar and search bar Go buttons.