doch es funktioniert nur mit dem scriptcode.
hier schau mal bei dieser datei geht die fensterschliessen funktion.
welchen teil muss ich da in die oben gezeigte datei einfügen.
<script language="JavaScript">
<!--
intClose = 15;
if(typeof(Ads_ClickUrl) == "undefined") Ads_ClickUrl = "
http://www.falkag.de"; var objInterstitial= window.open("","Interstitial","toolbar=0,location=0,directories=0,status=0,menubar=0,scrolling=0,scrollbars=0,resizable=0,fullscreen=yes,screenX=0,screenY=0,top=0,left=0,height="+screen.height+",width="+screen.width);
function fnTestFlash(intSwfMin)
{
gbolFlash = false;
if(((navigator.appName == "Netscape") && (navigator.userAgent.indexOf("Mozilla") != -1) && (parseFloat(navigator.appVersion) >= 4) && (navigator.javaEnabled()) && navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin))
{
strPlugin = navigator.plugins['Shockwave Flash'].description;
strPlugin = strPlugin.substring(strPlugin.indexOf("."), -1);
strPlugin = strPlugin.substr(-1);
if(strPlugin >= intSwfMin)
gbolFlash = true;
}
else if(navigator.userAgent && navigator.userAgent.indexOf("MSIE")!=-1 && navigator.userAgent.indexOf("Windows")!=-1 && navigator.userAgent.indexOf("Windows 3")==-1 && document.all)
{
document.write('<scr'+'ipt language=VBScript>\n intCurVersion = 4\nintMinVersion = ' + intSwfMin + '\nDo\nOn Error Resume Next\n');
document.write('gbolFlash = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & intCurVersion)))\n');
document.write('If gbolFlash = true Then Exit Do\nintCurVersion = intCurVersion - 1\nLoop While intCurVersion >= intMinVersion\n </scr'+'ipt>');
}
return gbolFlash;
}
function doInterstitial()
{
var strInterstitial = '<HTML>\n'
+ '<HEAD>\n\n'
+ '<TITLE>Click here!</TITLE>\n\n'
+ '</HEAD>\n\n'
+ '<BODY bgcolor="#ffffff" leftmargin=0 topmargin=0 marginwidth="0" marginheight="0" scroll="no">\n'
+ '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/...cab#version=4,0,2,0" width="100%" height="100%">\n\n'
+ '<param name="movie" value="popup_800x600.swf?url=' + escape(Ads_ClickUrl) + '">\n'
+ '<PARAM NAME=loop VALUE=false>\n'
+ '<PARAM NAME=menu VALUE=false>\n'
+ '<PARAM NAME=quality VALUE=high>\n'
+ '<PARAM NAME=scale VALUE=noborder>\n'
+ '<PARAM NAME=bgcolor VALUE=#ffffff>\n'
+ '<EMBED src="popup_800x600.swf?url=' + escape(Ads_ClickUrl) + '" loop=false menu=false quality=high scale=noborder bgcolor=#ffffff WIDTH=100% HEIGHT=100% TYPE="application/x-shockwave-flash PLUGINSPAGE="
http://www.macromedia.com/...gi?P1_Prod_Version=' + 'ShockwaveFlash"></EMBED>\n'
+ '</object>\n\n'
+ '</BODY>\n'
+ '</HTML>\n';
objInterstitial.document.open();
objInterstitial.document.write(strInterstitial);
objInterstitial.document.close();
objInterstitial.focus();
setTimeout('doPopUpClose();',13000);
}
if(fnTestFlash(5))
{
window.setTimeout('doInterstitial();', 0);
}
else
{
var strInterstitial = '<HTML>\n'
+ '<HEAD>\n\n'
+ '<TITLE>Click here!</TITLE>\n\n'
+ '</HEAD>\n\n'
+ '<BODY bgcolor="#ffffff" leftmargin=0 topmargin=0 marginwidth="0" marginheight="0" scroll="no">\n'
+ '<a href="' + Ads_ClickUrl + '" border="_blank"><img src="popup_800x600.gif" border="0" alt="Hier klicken!" width="100%" height="100%"></a>'
+ '</BODY>\n'
+ '</HTML>\n';
objInterstitial.document.open();
objInterstitial.document.write(strInterstitial);
objInterstitial.document.close();
objInterstitial.focus();
}
function doPopUpClose()
{
objInterstitial.close();
}
// -->
</script>