help3/html/index.php | 1 - help3/html/xhp2html.js | 4 +--- help3/html/xhpeditor.css | 6 +++--- 3 files changed, 4 insertions(+), 7 deletions(-)
New commits: commit 761e6d585091a15aaaf52ffe96b9723b82227b77 Author: Olivier Hallot <olivier.hal...@libreoffice.org> AuthorDate: Fri Jan 4 18:50:43 2019 -0200 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Fri Jan 4 22:26:24 2019 +0100 LO Help online editor (wip) Change-Id: If686961bf675096fd80b7497a53e8f7b5baf52c4 Reviewed-on: https://gerrit.libreoffice.org/65876 Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> Tested-by: Olivier Hallot <olivier.hal...@libreoffice.org> diff --git a/help3/html/index.php b/help3/html/index.php index a92aca1..8b757b5 100644 --- a/help3/html/index.php +++ b/help3/html/index.php @@ -109,7 +109,6 @@ </div> </body> <script type="text/javascript" src="/ed/hc2/help3xsl/help.js"></script> -<!--<script type="text/javascript" src="xhp2html.js"></script>--> <script type="text/javascript" src="autocomplete.js"></script> <script type="text/javascript" src="snippets.js"></script> </html> diff --git a/help3/html/xhp2html.js b/help3/html/xhp2html.js index c8fb04f..46e7e0a 100644 --- a/help3/html/xhp2html.js +++ b/help3/html/xhp2html.js @@ -56,7 +56,7 @@ function displayResult() if (window.ActiveXObject || xhttp.responseType == "msxml-document") { ex = xml.transformNode(xsl); - document.getElementById("renderedpage").innerHTML = ex; + document.getElementById("renderedpage").appendChild(ex.getElementById("DisplayArea")); } // code for Chrome, Firefox, Opera, etc. else if (document.implementation && document.implementation.createDocument) @@ -68,9 +68,7 @@ function displayResult() xsltProcessor.setParameter("", "language", language) xsltProcessor.setParameter("", "productname", productname) xsltProcessor.setParameter("", "productversion", productversion) -// document.getElementById("renderedpage").innerHTML('<link type="text/css" href="/ed/hc2/help3xsl/default.css" rel="Stylesheet" />"'); var resultDocument = xsltProcessor.transformToFragment(xml, document); - document.getElementById("renderedpage").appendChild(resultDocument.getElementById("DisplayArea")); } } diff --git a/help3/html/xhpeditor.css b/help3/html/xhpeditor.css index 542d2f2..d1ac7d8 100644 --- a/help3/html/xhpeditor.css +++ b/help3/html/xhpeditor.css @@ -28,7 +28,7 @@ left:0%; right:50%; position: absolute; - background: yellow; + background: Beige; display:block; border:1px solid grey; } @@ -37,7 +37,7 @@ right:0%; left: 50%; position:absolute; - background: cyan; + background: AliceBlue; overflow: scroll; border:1px solid grey; } @@ -302,7 +302,7 @@ icontable { .debug { border: 1px solid black; padding: 3px; - display: none; + display: block; background-color: #222; color: red; text-align: left; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits