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.
14 lines
352 B
14 lines
352 B
14 years ago
|
function insertIframe (elementId, iframeSrc)
|
||
|
{
|
||
|
var iframe;
|
||
|
if (document.createElement && (iframe = document.createElement('iframe')))
|
||
|
{
|
||
14 years ago
|
iframe.src = unescape(iframeSrc);
|
||
14 years ago
|
iframe.width = "100%";
|
||
|
iframe.height = "511px";
|
||
|
var element = document.getElementById(elementId);
|
||
|
element.parentNode.replaceChild(iframe, element);
|
||
|
}
|
||
|
}
|
||
|
|