Hallo,
habe hier ein Script, das nach der passwortabfrage das eingabeformular in einem Popupfenster öffnen soll. Habe es mit einem Javascript von dauerstress versucht, aber da tut sich leider nichts. Kann mir jemand bei der Fehlersuche behilflich sein?
Hier mal das Script:
<?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Mailoimer</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script language="JavaScript">
<!--
//PopUp-Generator von http://www.dauerstress.de
function mailto()
{
var breite=600;
var hoehe=600;
var positionX=((screen.availWidth / 2) - breite / 2);
var positionY=((screen.availHeight / 2) - hoehe / 2);
var url='http://127.0.0.1/fipo/include.php?path=mailto.php';
pop=window.open('','','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,fullscreen=0,width='+breite+',height='+hoehe+',top=10000,left=10000');
pop.resizeTo(breite,hoehe);
pop.moveTo(positionX,positionY);
pop.location=url;
}
//-->
</script>
</head>
<body bgcolor="#0099FF" text="#000000"><div align="center">
<p> </p>
<p> </p>
<p> </p>
<p><?
require ('../mailer/config.php');
?>
<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
</p><title>Bitte einloggen....</title>
</head>
<body>
<form name="login" method="post" action="eingabe.php">
<table width="17%" border="1" align="center">
<tr>
<td colspan="2"><div align="center"><font color="#FF8000" face="Verdana, Arial, Helvetica, sans-serif"><strong>(-;<font color="#0080FF">
. . . </font>Fipo Mailer <font color="#0080FF"> . . . </font> ;-)</strong></font></div></td>
</tr>
<tr>
<td width="19%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Passwort</font></td>
<td width="81%"><center>
<font face="Verdana, Arial, Helvetica, sans-serif">
<input name="passwort" type="password" id="pass" size="20">
</font></center></td>
</tr>
<tr>
<td> </td>
<td> <div align="center">
<input type="submit" name="Submit" value="Login" />
</div></td>
</tr>
</table>
</form>
</body>
body onLoad='Fenster1()' BACKGROUND="../fipo/mailto.php"
</html></div>
</body>
</html>
Wo steckt da nur wieder der Fehler.
Bin Anfänger !
Gruß Peter
habe hier ein Script, das nach der passwortabfrage das eingabeformular in einem Popupfenster öffnen soll. Habe es mit einem Javascript von dauerstress versucht, aber da tut sich leider nichts. Kann mir jemand bei der Fehlersuche behilflich sein?
Hier mal das Script:
<?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Mailoimer</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script language="JavaScript">
<!--
//PopUp-Generator von http://www.dauerstress.de
function mailto()
{
var breite=600;
var hoehe=600;
var positionX=((screen.availWidth / 2) - breite / 2);
var positionY=((screen.availHeight / 2) - hoehe / 2);
var url='http://127.0.0.1/fipo/include.php?path=mailto.php';
pop=window.open('','','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,fullscreen=0,width='+breite+',height='+hoehe+',top=10000,left=10000');
pop.resizeTo(breite,hoehe);
pop.moveTo(positionX,positionY);
pop.location=url;
}
//-->
</script>
</head>
<body bgcolor="#0099FF" text="#000000"><div align="center">
<p> </p>
<p> </p>
<p> </p>
<p><?
require ('../mailer/config.php');
?>
<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
</p><title>Bitte einloggen....</title>
</head>
<body>
<form name="login" method="post" action="eingabe.php">
<table width="17%" border="1" align="center">
<tr>
<td colspan="2"><div align="center"><font color="#FF8000" face="Verdana, Arial, Helvetica, sans-serif"><strong>(-;<font color="#0080FF">
. . . </font>Fipo Mailer <font color="#0080FF"> . . . </font> ;-)</strong></font></div></td>
</tr>
<tr>
<td width="19%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Passwort</font></td>
<td width="81%"><center>
<font face="Verdana, Arial, Helvetica, sans-serif">
<input name="passwort" type="password" id="pass" size="20">
</font></center></td>
</tr>
<tr>
<td> </td>
<td> <div align="center">
<input type="submit" name="Submit" value="Login" />
</div></td>
</tr>
</table>
</form>
</body>
body onLoad='Fenster1()' BACKGROUND="../fipo/mailto.php"
</html></div>
</body>
</html>
Wo steckt da nur wieder der Fehler.
Bin Anfänger !
Gruß Peter