為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 4 回覆
  • 3 有這個問題
  • 1 次檢視
  • 最近回覆由 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.