dongyi6845 2016-02-05 14:51
浏览 105
已采纳

在另一个屏幕中打开SCORM弹出窗口

I have implemented SCORM in one of my applications and it works perfectly. I am using two screens for development purposes and i want to open SCORM pop-up in the other screen whereas the application will be on screen one(from where the request to open SCORM will be made).

Is it somehow possible to deal with it?

  • 写回答

2条回答 默认 最新

  • dptdb84606 2016-02-08 21:39
    关注

    Chrome's had a issue with this for a bit - popup open position in chrome.

    Also How do I get JavaScript to open a popup window on the current monitor.

    You should be able to use the screen left position though to work out the math. I did something like this to get the window to appear to the left of the browser window. Again, Chrome may be a issue.

    leftPosition = (window.screenLeft != undefined ? window.screenLeft : window.screenX) - width;
    topPosition = 0;
    window.open(url, "Title", "status=no,height=" + height + ",width=" + width + ",resizable=yes,left=" + leftPosition + ",top=" + topPosition + ",screenX=" + leftPosition + ",screenY=" + topPosition + ",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no");
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 华为手机相册里面的照片能够替换成自己想要的照片吗?
  • ¥15 陆空双模式无人机飞控设置
  • ¥15 sentaurus lithography
  • ¥100 求抖音ck号 或者提ck教程
  • ¥15 关于#linux#的问题:子进程1等待子进程A、B退出后退出(语言-c语言)
  • ¥20 web页面如何打开Outlook 365的全球离线通讯簿功能
  • ¥15 io.jsonwebtoken.security.Keys
  • ¥15 急,ubuntu安装后no caching mode page found等
  • ¥15 联想交换机NE2580O/NE1064TO安装SONIC
  • ¥15 防火墙的混合模式配置