gustav: das Script funktioniert nur mit IE und nicht mit Mozilla :o(

Beitrag lesen

Finde sehr nett, adß Du mir dabei hilfst.

<html>
<head>

<SCRIPT language=JavaScript>
var showbox = "1";

if (showbox) {
 var ende = false;
 var pop;

function MMSetup() {
  pop = document.getElementById("fenster").popup.style;
  document.onmousemove = MovePopup;
  MovePopup();
 }

function MovePopup() {
  if (!ende) {
   pop.top = document.body.scrollTop-30;
   pop.height = document.body.style.height+30;
  }
 }

function pms_close() {

ende = true;
  pop.visibility = "hidden";
 }

window.onscroll = MovePopup;
}
</SCRIPT>
</head>

<body topmargin="0" leftmargin="0" onload="winopen()">
<DIV id=popup style="LEFT: 0px; POSITION: absolute; TOP: -150px; HEIGHT: 0px"
width="100%">

<TABLE id="fenster" height="100%" width="100%">
  <TBODY>
  <TR>
    <TD align=middle>
      <TABLE cellSpacing=1 cellPadding=4 width=400>
        <TBODY>
        <TR>
          <TD>Hallo Leute</TD></TR>
        <TR>

<TD><br><center>Herzlichen Wilkommen !</center>

<BR><BR>
            <TABLE cellSpacing=0 cellPadding=0>
              <TBODY>
              <TR>
               </TR></TBODY></TABLE>
            <TABLE width="100%">
              <TBODY>
              <TR>
                <TD align=middle width="50%">
                  <TABLE cellSpacing=1 cellPadding=3 width=150
                    bgColor=#555555><TBODY>
                    <TR id=title bgColor=#DBDBDB>

<TD align=middle><A href="Seite1.php>Ja</A>
                      </TD></TR></TBODY></TABLE></TD>
                <TD align=middle width="50%">
                  <TABLE cellSpacing=1 cellPadding=3 width=150
                    bgColor=#555555><TBODY>
                    <TR id=title bgColor=#DBDBDB>
                      <TD align=middle><A href="javascript:pms_close()">Schließen</A></B></FONT>
                      </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>
<SCRIPT language=JavaScript>MMSetup();</SCRIPT>

Gruß
G.M.