önce menünün olduğu bir sayfa hazırla. sonra bu sayfayı kaydet.
iframe içinde
menu sayfası çağrılacak. eğer yanlış anlamadıysam çözüm bu...
Kod:
<script FOR=window EVENT=onload LANGUAGE="JScript">
initAd();
</script>
<script language="JScript">
<!--
function initAd() {
document.all.AdLayer.style.posTop = -200;
document.all.AdLayer.style.visibility = 'visible'
MoveLayer('AdLayer');
}
function MoveLayer(layerName) {
var x = 10;
var y = 10;
var diff = (document.body.scrollTop + y - document.all.AdLayer.style.posTop)*.40;
var y = document.body.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posLeft = x");
setTimeout("MoveLayer('AdLayer');", 60);
}
if (navigator.onLine){
document.write("<div bgcolor=#000000 style='height=70px;'></div>");
document.write("<div id=AdLayer style='position:absolute; width:100%; height:80px; z-index:20; visibility:hidden;'>");
document.write("<iframe SRC='menuolansayfa.HTML' width="+(screen.width-40)+" height=60 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></iframe>");
document.write("</div>");
}
//-->
</script>
<table><tr><td height="1000"></td></tr>
<br>