mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
350 B
12 lines
350 B
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); |
|
} |
|
}
|
|
|