Javascript 闪光灯上方的IFrame窗口
我需要打开支付系统窗口。窗口通过iFrame打开。在闪存中(swf)生成对外部接口的调用Javascript 闪光灯上方的IFrame窗口,javascript,flash,iframe,Javascript,Flash,Iframe,我需要打开支付系统窗口。窗口通过iFrame打开。在闪存中(swf)生成对外部接口的调用 if (ExternalInterface.available) { ExternalInterface.call("ShowWebSite", "http://myService.com/show_form?app_params=testable_app_params&format=iframe&sig=54222d8a1c2a9412b91bc0abe62e8040&ts=129
if (ExternalInterface.available) {
ExternalInterface.call("ShowWebSite", "http://myService.com/show_form?app_params=testable_app_params&format=iframe&sig=54222d8a1c2a9412b91bc0abe62e8040&ts=1296285802");
}
设置闪光灯的参数:params.wmode=“不透明”
调用JS函数:
<script laguage='javascript'>
function ShowWebSite(url)
{
//Try any way
document.getElementByID('iFrameID').src=url;
//parent.frames['iFrameID'].location.href=url;
//window.frames.iFrameID.location.href=url;
}
</script>
// to body
<iframe id="iFrameID" width="430" height="400" scrolling="no" style="border: 1px solid #ccc;"></iframe>
功能展示网站(url)
{
//想尽办法
document.getElementByID('iFrameID')。src=url;
//parent.frames['iFrameID'].location.href=url;
//window.frames.iFrameID.location.href=url;
}
//身体
一切正常,但窗口无法打开。Javascript区分大小写:
document.getElementById()