Firefox foes not open links in a popup window using "window.open(this.href..."
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)
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.
- Launchy :: Add-ons for Firefox
https://addons.mozilla.org/en-US/firefox/addon/launchy/
- gemal.dk - Mozilla - Launchy
http://gemal.dk/mozilla/launchy.html
选择的解决方案
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
thanks mate. that works. never knew about the middle click funtion.
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.