Location: PHPKode > projects > PHP Manual Creator > adm/scripts/moz/preview.htm
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../style/editor.css" rel="stylesheet" type="text/css">
<script>
	var sLangDir=window.opener.oUtil.langDir;
	document.write("<scr"+"ipt src='../language/"+sLangDir+"/preview.js'></scr"+"ipt>");
</script>
<script>writeTitle()</script>
<script>
function bodyOnLoad()
    {
    var sHTML=window.opener.oUtil.obj.getHTML();
    var frmPreview = document.getElementById("idPreview").contentWindow;
    var oDoc = frmPreview.document.open("text/html", "replace");
    oDoc.write(sHTML);
    oDoc.close();
    }
</script>
</head>
<body onload="loadText();bodyOnLoad();" style="overflow:hidden;">

<table width="100%" height="100%" bgcolor=#ffffff align="center" cellpadding="0" cellspacing="0">
<td style="height:100%">
    <iframe style="width:100%;height:100%;overflow:auto;border:0px" name="idPreview" id="idPreview"></iframe>
</td>
</tr>
<tr>
<td class="dialogFooter" style="padding:13px;padding-top:7px;padding-bottom:7px;" align="right">
    <input type="button" id="btnClose" name="btnClose" value="close" onclick="self.close()" class="inpBtn" onmouseover="this.className='inpBtnOver';" onmouseout="this.className='inpBtnOut'">
</td>
</tr>
</table>

</body>
</html>
Return current item: PHP Manual Creator