Implemented dynamic loading of the Wiki in the online documentation.

This commit is contained in:
Ilya Lysenkov
2010-10-25 09:54:47 +00:00
parent f27a54be97
commit 0886177c5a
4 changed files with 30 additions and 1 deletions

View 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);
}
}