öncelikle template/default/file.html yi açıyoruz
daha sonra aşagıdaki kodu buluyoruz..
<!-- Load File -->
<?php
if ($filewidth>$maxfilewidth || $fileheight>$maxfileheight) {
?>
<a href="#" onClick=window.open("<?php echo $siteurl; ?>/index.php?action=popfile&fileid=<?php echo $fileid; ?>","","width=<?php echo $filewidth; ?>,height=<?php echo $fileheight; ?>,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0")>Oyunu yeni pencerede aç </a>
<?php
} else {
displayfile($filename,$filewidth,$fileheight,$filetype,$filelocation);
}
?>
<!-- End Load File -->buldugumuz bu kodun üstüne şunu yapıştıryoruz..
<script type="text/javascript">
setTimeout('gizle()',10000);
function gizle() {
var x=document.getElementById('birinci').style;
var y=document.getElementById('ikinci').style;
if(x.display=='block') { x.display='none'; y.display='block'; }
else { x.display='block'; y.display='none'; }
}
</script>
<div id="birinci" style="display:block;">
oyun yükleniyor..
</div>
<div id="ikinci" style="display:none;">buldugumuz kodun altına da şunu yapuştıryoruz..
</div>
"oyun yükleniyor.." yazan bölüme istedigini koyabilirsin.reklam gibi
kolay gelsin.denedim çalışıyor..