Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 4 replies
  • 3 have this problem
  • 31 views
  • Last reply by 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

Chosen solution

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

Read this answer in context 👍 0

All Replies (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

Chosen Solution

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.