mirror of https://github.com/opencv/opencv.git
Merge pull request #3976 from SpecLad:rm-insertIframe
commit
0b2cfcfda2
3 changed files with 1 additions and 14 deletions
@ -1,12 +0,0 @@ |
||||
function insertIframe (elementId, iframeSrc) |
||||
{ |
||||
var iframe; |
||||
if (document.createElement && (iframe = document.createElement('iframe'))) |
||||
{ |
||||
iframe.src = unescape(iframeSrc); |
||||
iframe.width = "100%"; |
||||
iframe.height = "511px"; |
||||
var element = document.getElementById(elementId); |
||||
element.parentNode.replaceChild(iframe, element); |
||||
} |
||||
} |
Loading…
Reference in new issue