在代码中我可以为弹出窗口添加名称吗?
code: (embedded in wix flash site)
<script language="javascript"><!--
function PopUp() {
var PopWidth = "400";
var PopHeight = "220";
var PosTop = "200";
var PosLeft = "200";
var SettingS = "toolbar=no,menubar=no,scrollbars=no,resizable=no,width=" + PopWidth + ",height=" + PopHeight + ",top=" + PosTop + ",left=" + PosLeft;
var PopUp = open("","box",SettingS);
PopUp.document.clear();
PopUp.document.write('<object height="200" width="100%"> <param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Fplaylists%2F434705&show_comments=true&auto_play=true&show_playcount=true&show_artwork=true&color=3f1081"></param> <param name="allowscriptaccess" value="always"></param> <embed allowscriptaccess="always" height="360" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Fplaylists%2F434705&show_comments=true&auto_play=true&show_playcount=true&show_artwork=true&color=3f1081" type="application/x-shockwave-flash" width="100%"></embed> </object> <span><a href="http://soundcloud.com/patrickharlin/sets/apps-set">Music by Patrick Harlin</a> by <a href="http://soundcloud.com/patrickharlin">Patrick Harlin</a></span>');
}
window.onload=PopUp;
// -->
</script>
我通过embeddable html在wix中使用弹出窗口,作为托管内部内容的音乐播放器。我试图解决为什么我的弹出窗口在大多数浏览器中工作,但不是IE9。我能说的最好的是我需要命名我的弹出窗口,我想以任何一种方式命名......
由于
该网站在?可以在这里找到:www.patrickharlin.com