This must be related with web code used.
Firefox 2.0.0.18 show the image in a new window with image size but this show in title: "about:blank" - <Image's title>
The source code of this new window with the image is a blank page source code.
This is an example of the JavaScript code used for website to open new window:
<div style="position:relative;">
<img src="http://images.vesseltracker.com/images/vessels/midres/158930.jpg" onclick="javascript: showPopup('http://images.vesseltracker.com/images/vessels/hires/158930.jpg',750,562,'Cargo Ship Bornrif IMO 9405368 by schiff'); return false;" style="cursor: pointer; " alt="Cargo Ship Bornrif IMO 9405368 by schiff" />
<!--<div jwcid="@ImageEdit" shipPhoto="ognl: photo"/>-->
</div>
The problem to show this images in new windows also happend in K-Meleon 1.1.6, 1.5.0 and 1.5.2RC2.
JavaScript showPopup() function code:
ShipPhotoDisplay.js
function showPopup(img_url,width,height,alt_text)
{
popup=window.open('','','width='+width+',height='+height+',dependent=yes');
popup.document.body.style.padding='0px;';
popup.document.body.style.margin='0px;';
popup.document.title = alt_text;
popup.document.body.innerHTML='<img src="' + img_url + '"' +
' alt="'+ alt_text + '"' +
' onclick="window.close()"'+
' style="cursor: pointer;"/>';
}
I hope this can help to solved this problem/bug.
Look this developer.mozilla.org documentation:
element.innerHTML.
K-Meleon in Spanish
Edited 8 time(s). Last edit at 12/19/2008 06:47PM by desga2.