8 Replies Latest reply on Aug 21, 2012 7:43 AM by MarionJD

    Script to open a window

    MarionJD Level 1

      I have a problem that is probably very easy for someone who knows more than I do to fix.

       

      Our topics in RoboHelp have a "hyperlink" that runs a little Javascript script that puts together a link that opens a window and runs a Flash file (Captivate).  We have clients who want to run it in their mobile devices.  They are willing to install Puffin so they can run Flash. 

       

      The problem is that the script is written to run the Flash file in a separate window, which you can't do in Puffin.  I'd like it to be able to run inside the WebHelp screen, in place of the topic content, in what I assume is a frame.  And I can't seem to get the script to work.  This is the original one.  Can anyone help? (I tried adding _Parent and _self but brought up an error message.)

       

      //<![CDATA[

      language="JavaScript">

      <!--

      function launchwin()

      {

      var SiteName="www.[site]";

      var TipName="[topic name]";

      window.open ("http://"+SiteName+"/"+TipName+".htm","cool","width=1020,height=610,location=no,toolbar=no");

      }

      //-->

      //]]>