有人可以解释一下这段代码吗 [英] Can some one explain this code

查看:73
本文介绍了有人可以解释一下这段代码吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

var ext= $find("ctl00_modal");
                    var ifr= $get("modal");
                    ifr.src = "../Popup/abc.aspx";
                    ifr.style.width = "750px";
                    ifr.style.height = "310px";
                    ifr.style.left = "2px";
                    ifr.style.top = "2px";
                    ext.initialize();
                    ext.show();

推荐答案

find(" ); var ifr =
find("ctl00_modal"); var ifr=


get(" ); ifr.src = " ; ifr.style.width = " ; ifr.style.height = " ; ifr.style.left = " ; ifr.style.top = " ; ext.initialize(); ext.show();
get("modal"); ifr.src = "../Popup/abc.aspx"; ifr.style.width = "750px"; ifr.style.height = "310px"; ifr.style.left = "2px"; ifr.style.top = "2px"; ext.initialize(); ext.show();


它似乎在名为modal的弹出模式div中显示abc.aspx.但是由于您所提供的信息完全缺乏,所以这只是一个最佳猜测.
It appears to be displaying abc.aspx in a popup modal div named modal. But with the utter lack of information you provided, that is just a best guess.


这篇关于有人可以解释一下这段代码吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆