Implemented dynamic loading of the Wiki in the online documentation.
This commit is contained in:
17
doc/latex2sphinx/_static/insertIframe.js
Normal file
17
doc/latex2sphinx/_static/insertIframe.js
Normal file
@@ -0,0 +1,17 @@
|
||||
function insertIframe (elementId, iframeSrc)
|
||||
{
|
||||
var iframe;
|
||||
if (document.createElement && (iframe = document.createElement('iframe')))
|
||||
{
|
||||
iframe.src = iframeSrc;
|
||||
iframe.width = "100%";
|
||||
iframe.height = "511px";
|
||||
var element = document.getElementById(elementId);
|
||||
element.parentNode.replaceChild(iframe, element);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user