Problems with Popup-Windows startet with Java

J

Jakobus Schuerz

Hi!

A friend of me provides the website http://www.tramway.at.
On my linux-machine (SuSE 10.0) there is a Problem with the Popups. If i
click to a picture, a small window with the picture opens. When i move
my mouse into the new popup, and leave it afterwards, the whole firefox
will close. (firefox 1.5).
This will happen with fvwm, twm, kde 3.5.2. Others i haven`t tested.

Here is the script, maybe someone of you will see the fault...

"function MM_displayStatusMsg(msgStr) { //v1.0
status=msgStr;
document.MM_returnValue = true;
}

function
openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt,posLeft,posTop)
{
newWindow =
window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",scro
llbars=no,resizable=yes,locationbar=no,menubar=no,status=no,left="+posLeft+"
,top="+posTop);
newWindow.document.open();
newWindow.document.write('<html><title>'+alt+'</title><body
bgcolor="#000000" leftmargin="0" topmargin="0" marginheight="0"
marginwidth="0" onBlur="self.close()">');

newWindow.document.write('<img src='+imageName+' alt='+alt+'>');
newWindow.document.write('</body></html>');
newWindow.document.close();
newWindow.focus();
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
i<a.length;
i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}

function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++)
x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array;
for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc)
x.oSrc=x.src; x.src=a[i+2];}
}
"


greetings jakob

Jakobus Schürz
mail: (e-mail address removed)

--

Soweit im Mail personenbezogene Bezeichnungen nur in weiblicher Form
angeführt sind, beziehen sie sich auf Frauen und Mäner in gleicher
Weise. Bei Anwendung auf bestimmte Personen ist die jeweils
geschlechtsspezifische Form verwendet.
(In Anlehnung an §1 der Geschäftsordnung des Landtages für Wien vom 18.
Juli 2001)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,710
Latest member
bernietqt

Latest Threads

Top