删除jQuery Popup中的地址

时间:2012-08-06 17:14:36

标签: javascript jquery

我的网站上有一个jQuery Popup音乐播放器,我想删除显示该插件路径的地址栏。

JS文件中的弹出事件:

if( !window.fapPopupWin || window.fapPopupWin.closed ) {

                var windowWidth = 1070;
                var centerWidth = (window.screen.width - windowWidth) / 2;
                var centerHeight = (window.screen.height - totalHeight) / 2;

                window.fapPopupWin = window.open(options.popupUrl, '', 'menubar=no,toolbar=no,location=no,width='+windowWidth+',height='+totalHeight+',left='+centerWidth+',top='+centerHeight+'');
                if(window.fapPopupWin == null) {
                    alert("Pop-Up Music Player can not be opened. Your browser is blocking Pop-Ups. Please allow Pop-Ups for this site to use the Music Player.");
                }
                $(window.fapPopupWin).load(function() {
                    options.autoPlay = playIt;
                    window.fapPopupWin.initPlayer(options, html);
                    playlistCreated = true;
                });

有什么想法吗?

0 个答案:

没有答案