Skip to main content
Participant
June 5, 2019
Question

About Blank slide appearing

  • June 5, 2019
  • 3 replies
  • 239 views

I am using Captivate 2019. I have a button that directs the learner to a URL by using JavaScript in an Advanced action along with a 3 second delay and an Exit to the module. When I preview the course in an HTML browser or publish and play, an About Blank screen comes up in addition to the new window for the URL. How can I get rid of the extra screen?

    This topic has been closed for replies.

    3 replies

    ehrsusanAuthor
    Participant
    June 6, 2019

    Advanced Action:

    Execute JavaScript Script Window new

    Delay Next Action by 3 seconds

    Exit

    ehrsusanAuthor
    Participant
    June 6, 2019

    if (document.all) {

       var xMax = screen.width, yMax = screen.height

      }

      else if (document.layers) {

       var xMax = window.outerWidth, yMax = window.outerHeight

      }

      else {

       var xMax = 640, yMax=480

      };

    window.open("http://test-slservices.humana.com/rearchitect/logon/directconnectlogin.aspx?dcURL=ud8k%2B8bJ7vZo7ZqnVbgwWA8MQ1945G6tc52UiXdP3auYlGTaM0DlMJ4ylaGPtc1Q4AGJ912evi3U1Ge9nxKOvREsNp2CkiEryGvBKiguY/X5fq8Kw8w=&dcAKA=l%2BobztjCgMlM&dcPO=30&dcEA=1", "_blank", 'channelmode=1,scrollbars=1,width='+xMax+',height='+yMax+',status=0,titlebar=0,toolbar=0,resizable=1')

    RodWard
    Community Expert
    Community Expert
    June 5, 2019

    Please provide more information.  Screenshots of your JavaScript code and Advanced Action would be helpful.