4 Replies Latest reply on May 25, 2016 8:46 PM by kglad

    Connecting HTML 5 Canvas Buttons to other HTML documents

    Hillquist

      I have been able to use the following snippet to connect from an index to another html document in a sub folder but now I need to connect from the document in the sub folder back to the index.html and I can't seem to get the syntax correct. This is what I am trying to use:

       

      this.button_1.addEventListener("click", fl_ClickToGoToWebPage);

      function fl_ClickToGoToWebPage() {

        window.open("../index.html", "_blank");

      }

       

      Not working.
      Any suggestions?