mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/MI-38.git
synced 2026-01-24 01:15:41 +03:00
32 lines
1.4 KiB
HTML
32 lines
1.4 KiB
HTML
<!DOCTYPE HTML>
|
|
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
|
<html xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://www.purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<script>
|
|
function objectHTMLLoaded() {
|
|
var iframe = document.getElementById('contentIFrame');
|
|
iframe.style.height = (parseInt(window.sessionStorage.getItem('contentsHeight'),10)+50)+'px';
|
|
}
|
|
function updateDocHeight() { objectHTMLLoaded(); }
|
|
function setContent(fileName) {
|
|
c = document.getElementById("content");
|
|
c.innerHTML = "<object id='contentIFrame' data='"+fileName+"' type='text/html' width='100%' height='100%' style='margin: 0 auto;' frameBorder='0' style='text-indent: 0px;'></object>";
|
|
window.scrollTo({ top: 0, behavior: 'smooth' });
|
|
}
|
|
</script>
|
|
<style> html, body { height:100%; margin:0px; padding:0px; scroll-behavior: smooth !important;}</style>
|
|
</head>
|
|
<body bgcolor="#FFFFFF">
|
|
<table width="100%" height="100%" cellspacing="5px" >
|
|
<tr height="100%">
|
|
<td width="300" style="vertical-align: text-top; border-right: 1px solid gray; font-family: Helvetica, Arial, sans-serif; color: rgba(124, 37, 41, 1);">
|
|
<table id="tocTable">
|
|
</table>
|
|
</td>
|
|
<td><div id="content" style="vertical-align: text-top; width:100%; height:100%;"></div></td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|