Hallo alle zusammen,
ich habe folgendes Problem: ich habe meine Website mit NetObjects 7.5 geschrieben. Leider bietet Netobjects nicht die Möglichkeit, ein pop-up beim Start zu definieren. In diesem Pop-Up würde ich gerne die aktuelle Werbung meiner Firma einbinden. Dann müsste ich immer nur das aktuell neue .jpg hochladen und nicht jedesmal die ganze Seite.
Nach ein paar Testversuchen, habe ich es hinbekommen, dass sich in einer neuen html-Datei mit nachfolgendem Code ein pop-up öffnet. Leider mit der Einschränkung, dass im Firefox die Höhe nicht passt - IE geht alles (auch wenn ich den nicht mag )
<HTML>
<HEAD>
<title>popUp</title>
<script type="text/JavaScript" language="JavaScript">
function popUpImg(img) {
myImg = new Image();
myImg.src = img;
var width = myImg.width;
var height = myImg.height;
imgWin = window.open('', 'imgWinName', 'width=' + width + ', height=' + height);
with (imgWin.document) {
open();
write('<HTML>');
write(' <HEAD>');
write(' <title>imgWin</title>');
write(' </HEAD>');
write(' <BODY style="margin: 0px;" onLoad="self.focus();">');
write(' <a href="" onClick="JavaScript:self.close()">')
write(' </a>');
write(' </BODY>');
write('</HTML>');
close();
}
}
</script>
</HEAD>
<BODY>
<body onload="javascript: popUpImg('werbung.jpg')">
</BODY> </HTML>
So weit so gut dachte ich mir, bindest du den Code dann einfach in die index.htm deiner Website ein. Gesagt getan, aber leider kommt dann pertout kein pop-up. Kann mir bitte jemand sagen, wo ich das im folgenden Code einbinden muss, damit das klappt?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META NAME="Generator" CONTENT="NetObjects Fusion 7 für Windows">
<TITLE>AT Computer - WeKnowIT</TITLE>
<META CONTENT="NetObjects Fusion MX für Windows" NAME="Generator">
<META CONTENT="NetObjects Fusion MX for Windows" NAME="Generator">
<SCRIPT LANGUAGE="JavaScript">
<!--
function SymError()
{
return true;
}
window.onerror = SymError;
var SymRealWinOpen = window.open;
function SymWinOpen(url, name, attributes)
{
return (new Object());
}
window.open = SymWinOpen;
//-->
</SCRIPT>
<SCRIPT>
<!--
function F_loadRollover(){} function F_roll(){}
//-->
</SCRIPT>
<SCRIPT SRC="test-Dateien/rollover.htm" LANGUAGE="JavaScript1.2"></SCRIPT>
</HEAD>
<BODY NOF="(MB=(HomepageMasterRahmen, 0, 0, 0, 0), L=(ATComputerWeKnowITLayout, 1446, 902))" BGCOLOR="#FFFFFF" BACKGROUND="./assets/images/background.gif" TEXT="#000000" LINK="#0033CC" VLINK="#990099" ALINK="#FF0000" TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=933 NOF=LY>
<TR VALIGN=TOP ALIGN=LEFT>
<TD WIDTH=233 HEIGHT=17></TD>
<TD></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD HEIGHT=244></TD>
<TD ALIGN=CENTER VALIGN=MIDDLE WIDTH=700></TD>
</TR>
</TABLE>
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=1033 NOF=LY>
<TR VALIGN=TOP ALIGN=LEFT>
<TD>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=347 NOF=LY>
<TR VALIGN=TOP ALIGN=LEFT>
<TD WIDTH=193 HEIGHT=113></TD>
<TD WIDTH=69></TD>
<TD WIDTH=18></TD>
<TD WIDTH=61></TD>
<TD WIDTH=2></TD>
<TD WIDTH=2></TD>
<TD WIDTH=2></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=2></TD>
<TD COLSPAN=5 WIDTH=85>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT SIZE="+1" FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">Telefon:</FONT></P>
</TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=7 HEIGHT=3></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=2></TD>
<TD COLSPAN=3 WIDTH=81>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT SIZE="+1" FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">Telefax:</FONT></P>
</TD>
<TD COLSPAN=2></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=7 HEIGHT=16></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=2></TD>
<TD COLSPAN=4 WIDTH=83>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT SIZE="+1" FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">Internet:</FONT></P>
</TD>
<TD></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=7 HEIGHT=3></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=2></TD>
<TD COLSPAN=2 WIDTH=79>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT SIZE="+1" FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">E-Mail:</FONT></P>
</TD>
<TD COLSPAN=3></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=7 HEIGHT=220></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD HEIGHT=112></TD>
<TD COLSPAN=2 ALIGN=CENTER VALIGN=MIDDLE WIDTH=87></TD>
<TD COLSPAN=4></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD COLSPAN=2 WIDTH=87 BGCOLOR="#FFFFFF">
<P ALIGN=CENTER><FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT SIZE="-2" FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">Impressum</FONT></P>
</TD>
<TD COLSPAN=4></TD>
</TR>
</TABLE>
</TD>
<TD>
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=686 NOF=LY>
<TR VALIGN=TOP ALIGN=LEFT>
<TD>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=326 NOF=LY>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD COLSPAN=2 WIDTH=319>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT SIZE="+1" FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">Inh. Andreas Thönnes</FONT></P>
</TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD COLSPAN=2 WIDTH=319>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT SIZE="-1" FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">Dipl. Wirtschaftsinformatiker (BA)</FONT></P>
</TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD WIDTH=7 HEIGHT=9></TD>
<TD WIDTH=162></TD>
<TD WIDTH=157></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD COLSPAN=2 WIDTH=319>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT SIZE="+1" FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">Winkelbach 10a </FONT></P>
</TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=3 HEIGHT=3></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD COLSPAN=2 WIDTH=319>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT SIZE="+1" FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">54570 Oberstadtfeld</FONT></P>
</TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=3 HEIGHT=19></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD WIDTH=162>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT SIZE="+1" FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">06596 / 24 83 14</FONT></P>
</TD>
<TD></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=3 HEIGHT=3></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD WIDTH=162>
<P ALIGN=CENTER><FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT></P>
</TD>
<TD></TD>
</TR>
</TABLE>
</TD>
<TD>
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=330 NOF=LY>
<TR VALIGN=TOP ALIGN=LEFT>
<TD>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=200 NOF=LY>
<TR VALIGN=TOP ALIGN=LEFT>
<TD WIDTH=75 HEIGHT=47></TD>
<TD WIDTH=115></TD>
<TD WIDTH=10></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD COLSPAN=2 WIDTH=125>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT SIZE="+1" FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">Trebetastr. 1 </FONT></P>
</TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=3 HEIGHT=3></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD WIDTH=115>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT SIZE="+1" FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">54296 Trier </FONT></P>
</TD>
<TD></TD>
</TR>
</TABLE>
</TD>
<TD>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=130 NOF=LY>
<TR VALIGN=TOP ALIGN=LEFT>
<TD HEIGHT=39></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD HEIGHT=72 ALIGN=CENTER VALIGN=MIDDLE WIDTH=130></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=237 NOF=LY>
<TR VALIGN=TOP ALIGN=LEFT>
<TD WIDTH=75 HEIGHT=2></TD>
<TD WIDTH=162></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD WIDTH=162>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT SIZE="+1" FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">0651 / 200 33 48</FONT></P>
</TD>
</TR>
</TABLE>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=239 NOF=LY>
<TR VALIGN=TOP ALIGN=LEFT>
<TD WIDTH=75 HEIGHT=3></TD>
<TD WIDTH=164></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD WIDTH=164>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT SIZE="+1" FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">0651 / 200 33 49</FONT></P>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=672 NOF=LY>
<TR VALIGN=TOP ALIGN=LEFT>
<TD>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=287 NOF=LY>
<TR VALIGN=TOP ALIGN=LEFT>
<TD WIDTH=7 HEIGHT=17></TD>
<TD WIDTH=209></TD>
<TD WIDTH=18></TD>
<TD WIDTH=2></TD>
<TD WIDTH=51></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD WIDTH=209>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT SIZE="-1" FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">www.weknowit.de</FONT><FONT FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif"> </FONT></P>
</TD>
<TD COLSPAN=3></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=5 HEIGHT=9></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD COLSPAN=2 WIDTH=227>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT>at-computer@weknowit.de</FONT>[/email]</P>
</TD>
<TD COLSPAN=2></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=5 HEIGHT=47></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD COLSPAN=4 WIDTH=280>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">EDV Hard- und Softwareberatung</FONT></P>
</TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=5 HEIGHT=2></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD COLSPAN=3 WIDTH=229>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">DSL & Telekommunikation</FONT></P>
</TD>
<TD></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=5 HEIGHT=2></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD COLSPAN=3 WIDTH=229>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">Websolutions</FONT></P>
</TD>
<TD></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=5 HEIGHT=2></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD COLSPAN=3 WIDTH=229>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">Systemintegrationen</FONT></P>
</TD>
<TD></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=5 HEIGHT=2></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD COLSPAN=3 WIDTH=229>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">Schulung und Beratung</FONT></P>
</TD>
<TD></TD>
</TR>
</TABLE>
</TD>
<TD>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=385 NOF=LY>
<TR VALIGN=TOP ALIGN=LEFT>
<TD WIDTH=13 HEIGHT=26></TD>
<TD></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD HEIGHT=239></TD>
<TD ALIGN=CENTER VALIGN=MIDDLE WIDTH=372></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH=686 NOF=LY>
<TR VALIGN=TOP ALIGN=LEFT>
<TD>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=458 NOF=LY>
<TR VALIGN=TOP ALIGN=LEFT>
<TD WIDTH=7 HEIGHT=26></TD>
<TD WIDTH=10></TD>
<TD WIDTH=110></TD>
<TD WIDTH=331></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD COLSPAN=2></TD>
<TD WIDTH=110>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT SIZE="-2" FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">Partner der</FONT></P>
</TD>
<TD></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD HEIGHT=55></TD>
<TD COLSPAN=3 ALIGN=CENTER VALIGN=MIDDLE WIDTH=451></TD>
</TR>
</TABLE>
</TD>
<TD>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=73 NOF=LY>
<TR VALIGN=TOP ALIGN=LEFT>
<TD WIDTH=11 HEIGHT=23></TD>
<TD></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD HEIGHT=83></TD>
<TD ALIGN=CENTER VALIGN=MIDDLE WIDTH=62></TD>
</TR>
</TABLE>
</TD>
<TD>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=155 NOF=LY>
<TR VALIGN=TOP ALIGN=LEFT>
<TD WIDTH=3 HEIGHT=38></TD>
<TD WIDTH=151></TD>
<TD WIDTH=1></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD HEIGHT=50></TD>
<TD COLSPAN=2 ALIGN=CENTER VALIGN=MIDDLE WIDTH=152></TD>
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD></TD>
<TD WIDTH=151 BGCOLOR="#FFFFFF">
<P ALIGN=CENTER><FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif"></FONT><FONT SIZE="-2" FACE="Verdana,Tahoma,Arial,Helvetica,Sans-serif,sans-serif">zum Profiseller Shop</FONT></P>
</TD>
<TD></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
Vielen Dank schon mal im voraus !
Ich bin für jede Hilfe sehr dankbar.
Grüße aus der Vulkaneifel
Andreas