EGL在处理程序中创建iframe
我使用egl丰富的ui。我有一个处理程序,我尝试在其中添加一个iframe。我找到了一个代码示例,但这不起作用。下面的代码出了什么问题EGL在处理程序中创建iframe,iframe,egl,rich-ui,Iframe,Egl,Rich Ui,我使用egl丰富的ui。我有一个处理程序,我尝试在其中添加一个iframe。我找到了一个代码示例,但这不起作用。下面的代码出了什么问题 handler Test type RUIhandler{initialUI =[ui], onConstructionFunction = start, cssFile = "css/test.css", title = "Test"} ui Div{padding = 10, children =[Box, BoxDataGrid, iframe]};
handler Test type RUIhandler{initialUI =[ui], onConstructionFunction = start, cssFile = "css/test.css", title = "Test"}
ui Div{padding = 10, children =[Box, BoxDataGrid, iframe]};
iframe Widget{tagName = "iframe", width = "500", height="100"};
function start()
iframe.setAttribute("src", "http://www.google.gr");
end
end
也许是网址。谷歌禁止在iframe内使用其网站。Follownig代码有效
handler test5 type RUIhandler {initialUI = [ iframe ],onConstructionFunction = start, cssFile="css/frommclient.css", title="test5"}
iframe Widget{tagName = "iframe", width = "500", height="100"};
function start()
iframe.setAttribute("src", "http://www.frommedv.de");
end
end