0 Replies Latest reply on Jun 18, 2008 8:48 AM by ash_designman

    Popups

    ash_designman Level 1
      HI,

      I need some help. I need to create a popup window (I know its bad, but I have too in this case). This popup needs to load a "blank page" (no visual elements). This page then has a tracking code on it which records the users load of this page. Then I need it to open another window, this time a chat window, so the user can go ahead and chat to the company. Then I need the Tracking page to self close as it is nolonger needed.

      So to clarify;
      1. link opens a tracking page popup.
      2. tracking page records the opening and then opens another window (chat window).
      3. tracking window closes.

      Can anyone help? I have looked at using javascript to do this, but my javascript knowledge is limited.

      I know that I can make a popup with this...

      <script type="text/javascript">
      <!--

      var newwindow;
      function poptastic(url)
      {
      newwindow=window.open(url,'name','height=400,width=300');
      if (window.focus) {newwindow.focus()}
      }
      // -->

      </script>


      And I know I can close a page / window using <body onload='compt=setTimeout("self.close();",2000)'>, but I am not sure how tomake it load another popup (ie the chat window) before it closes.

      Please can you help?
      Ash