MFX Fullscreen klappt nur teilweise

Status
Nicht offen für weitere Antworten.

ednaja

Mitglied
Ich hätte da mal wieder ein Problem. Ich habe die Extension MFX Fullscreen von Macromedia. Bei dem einen Link funktioniert es, beim anderen nicht. Und ich habe genau das gleiche gemacht. Hier die Seite, bei der das Verhalten Fullscreen nicht klappt:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
funktion full (menue.htm)
{
window.open (menue.htm,"","fullscreen");
}
//-->

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[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MachakFull(Ie,other){
//Copyright © 1999 m.milicevic machakjoe@netscape.net jjooee@tip.nl
x=screen.availWidth;
y=screen.availHeight;
target = parseFloat(navigator.appVersion.substring(navigator.appVersion.indexOf('.')-1,navigator.appVersion.length));
if((navigator.appVersion.indexOf("Mac")!=-1) &&(navigator.userAgent.indexOf("MSIE")!=-1) &&(parseInt(navigator.appVersion)==4))
window.open(other,"sub",'scrollbars=yes');
if (target >= 4){
	if (navigator.appName=="Netscape"){
    var MachakFull=window.open(other,"MachakFull",'scrollbars=yes','width='+x+',height='+y+',top=0,left=0');
	MachakFull.moveTo(0,0);
	MachakFull.resizeTo(x,y);}
if (navigator.appName=="Microsoft Internet Explorer")
	window.open(Ie,"MachakFull","fullscreen=yes");
	}
	else window.open(other,"sub",'scrollbars=yes');
	}
//-->
</script>
</head>

<body background="grafik%20eyefood/Hintergrund.jpg" text="#FFFFFF">
<table width="977" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr> 
    <td width="139" height="248"></td>
    <td width="781">&nbsp;</td>
    <td width="43"></td>
    <td width="24"></td>
  </tr>
  <tr> 
    <td height="115"></td>
    <td rowspan="3" valign="top"><img src="grafik%20eyefood/frontbild1.jpg" width="781" height="284"></td>
    <td colspan="2" valign="top"><img src="grafik%20eyefood/frontbild2.jpg" width="67" height="115"></td>
  </tr>
  <tr> 
    <td height="49"></td>
    <td valign="top"><a href="2.seite.htm"><img src="grafik%20eyefood/pfeil-eyefood.gif" name="Image5" width="43" height="49" border="0" onClick="MachakFull('2.seite.htm','2.seite.htm')"></a></td>
    <td valign="top"><img src="grafik%20eyefood/frontbild4.jpg" width="24" height="49"></td>
  </tr>
  <tr> 
    <td height="120"></td>
    <td colspan="2" valign="top"><img src="grafik%20eyefood/frontbild3.jpg" width="67" height="120"></td>
  </tr>
</table>
</body>
</html>



Hier die Seite, von der das Verhalten Fullscreen klappt:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>visualsmenue</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

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[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<body background="grafik%20eyefood/Hintergrund%20ohne.jpg" onLoad="MM_preloadImages('grafik%20eyefood/PFEIL%20UNTEN.jpg')">
<table width="143" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutDefaultTable-->
  <tr> 
    <td width="71" height="476">&nbsp;</td>
    <td width="40">&nbsp;</td>
    <td width="32">&nbsp;</td>
  </tr>
  <tr>
    <td height="40">&nbsp;</td>
    <td valign="top"><a href="2.seite.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','grafik%20eyefood/PFEIL%20UNTEN.jpg',1)"><img src="grafik%20eyefood/PFEIL%20OBEN.jpg" name="Image1" width="40" height="40" border="0"></a></td>
  <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="24">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>
Wenn mir jemand sagen kann, was ich falsch gemacht habe...
 
Ich nochmal. Die 2. Seite war falsch. Hier also die richtige. Die bei der fullscreen klappt:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

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[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function openChromeslessWindow(openUrl, winName, wWidth, wHeight, wPosx, wPosy, wTIT,
												windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel,
													bCenter, sFontFamily, sFontSize, sFontColor){
	
	openchromeless(openUrl,winName, wWidth, wHeight, wPosx, wPosy, wTIT, wTIT ,
							windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel,
								bCenter, sFontFamily, sFontSize, sFontColor);
}

function MachakFull(Ie,other){
//Copyright © 1999 m.milicevic machakjoe@netscape.net jjooee@tip.nl
x=screen.availWidth;
y=screen.availHeight;
target = parseFloat(navigator.appVersion.substring(navigator.appVersion.indexOf('.')-1,navigator.appVersion.length));
if((navigator.appVersion.indexOf("Mac")!=-1) &&(navigator.userAgent.indexOf("MSIE")!=-1) &&(parseInt(navigator.appVersion)==4))
window.open(other,"sub",'scrollbars=yes');
if (target >= 4){
	if (navigator.appName=="Netscape"){
    var MachakFull=window.open(other,"MachakFull",'scrollbars=yes','width='+x+',height='+y+',top=0,left=0');
	MachakFull.moveTo(0,0);
	MachakFull.resizeTo(x,y);}
if (navigator.appName=="Microsoft Internet Explorer")
	window.open(Ie,"MachakFull","fullscreen=yes");
	}
	else window.open(other,"sub",'scrollbars=yes');
	}
//-->
</script>
<script id="chromeless" src="pz_chromeless_2.1.js"></script>
</head>

<body background="grafik%20eyefood/Hintergrund%20ohne.jpg" onLoad="MM_preloadImages('grafik%20eyefood/menue%201u.jpg','grafik%20eyefood/menue%202u.jpg','grafik%20eyefood/menue%203u.jpg','grafik%20eyefood/menue%204u.jpg','grafik%20eyefood/PFEIL%20UNTEN.jpg')">
<table width="1091" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr> 
    <td width="69" height="254"></td>
    <td width="40"></td>
    <td width="36"></td>
    <td width="426"></td>
    <td width="61">&nbsp;</td>
    <td width="17"></td>
    <td width="61"></td>
    <td width="17"></td>
    <td width="61"></td>
    <td width="17"></td>
    <td width="61"></td>
    <td width="124"></td>
    <td width="101"></td>
  </tr>
  <tr> 
    <td height="1"></td>
    <td></td>
    <td></td>
    <td rowspan="5" valign="top"><img src="grafik%20eyefood/menue%20links.jpg" width="426" height="285"></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr> 
    <td height="83"></td>
    <td></td>
    <td></td>
    <td colspan="8" valign="top"><img src="grafik%20eyefood/menue%20%FCber%20buttons.jpg" width="419" height="83"></td>
    <td>&nbsp;</td>
  </tr>
  <tr> 
    <td height="59"></td>
    <td></td>
    <td></td>
    <td valign="top"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','grafik%20eyefood/menue%201u.jpg',1)"><img src="grafik%20eyefood/menue%201o.jpg" name="Image3" width="61" height="59" border="0" onClick="openChromeslessWindow('aboutme.htm','____ABOUT_ME_____',846,283,null,null,'____ABOUT_ME_____', '#000000', '#000000', '#999988', '#808040' ,true,'Arial, Helvetica, sans-serif', '1','#000000')"></a></td>
    <td valign="top"><img src="grafik%20eyefood/menue%20zwischen.jpg" width="17" height="59"></td>
    <td valign="top"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','grafik%20eyefood/menue%202u.jpg',1)"><img src="grafik%20eyefood/menue%202o.jpg" name="Image5" width="61" height="59" border="0" onClick="MachakFull('menuevisuals.htm','menuevisuals.htm')"></a></td>
    <td valign="top"><img src="grafik%20eyefood/menue%20zwischen.jpg" width="17" height="59"></td>
    <td valign="top"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','grafik%20eyefood/menue%203u.jpg',1)"><img src="grafik%20eyefood/menue%203o.jpg" name="Image7" width="61" height="59" border="0" onClick="openChromeslessWindow('contact.htm','___CONTACT____',178,282,null,null,'___CONTACT____', '#000000', '#000000', '#CCCCCC', '#CCCC99' ,true,'Arial, Helvetica, sans-serif', '1','#000000')"></a></td>
    <td valign="top"><img src="grafik%20eyefood/menue%20zwischen.jpg" width="17" height="59"></td>
    <td valign="top"><a href="mailto:z.edda@freenet.de" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','grafik%20eyefood/menue%204u.jpg',1)"><img src="grafik%20eyefood/menue%204o.jpg" name="Image10" width="61" height="59" border="0"></a></td>
    <td valign="top"><img src="grafik%20eyefood/menue%20rechts%20neb.4.jpg" width="124" height="59"></td>
    <td></td>
  </tr>
  <tr> 
    <td height="102">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td colspan="8" rowspan="2" valign="top"><img src="grafik%20eyefood/menue%20text.jpg" width="419" height="142"></td>
    <td></td>
  </tr>
  <tr>
    <td height="40">&nbsp;</td>
    <td valign="top"><a href="index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image12','','grafik%20eyefood/PFEIL%20UNTEN.jpg',1)"><img src="grafik%20eyefood/PFEIL%20OBEN.jpg" name="Image12" width="40" height="40" border="0"></a></td>
    <td>&nbsp;</td>
    <td></td>
  </tr>
  <tr> 
    <td height="136"></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
</table>
</body>
</html>
 
Status
Nicht offen für weitere Antworten.
Zurück