Also das aufrufende Fenster bringt nix.
Da nur ein popup geöffnet wird.
Code Javascript zum PopUp öffnen
Code
function openPopup(FIELD, LABEL, BOX_HEIGHT, BOX_WIDTH, POS_TOP, POS_LEFT)
{
g_fieldIndex = FIELD;
g_fieldName = LABEL;
BoxOptions = "toolbar=0, scrollbars=0, location=0, statusbar=0, menubar=0, resizable=0";
Box = window.open("", "", BoxOptions + ',width=' + BOX_WIDTH + ',height=' + BOX_HEIGHT + ' ,top=' + POS_TOP + ' ,left=' + POS_LEFT );
if (Box != null)
{
switch (LABEL)
{
case 'Test' : Box.location.href = 'PopUp.html';
break;
default : alert("Wrong Label !!!");
break;
}
}
return;
}
Alles anzeigen
Edit Feld