1 Reply Latest reply on Jun 23, 2015 7:47 AM by akouns

    Jump to anchors of an externally loaded HTML file

    akouns Level 1

      I have loaded an external HTML document using ajax:

       

      $.ajax({

        url: ("test.html"),

        dataType: "html",

        success: function(data) {

        sym.$("Rectangle").html(data);

        }

      });

       

      The above is working properly.

       

      I have established some anchors inside of this HTML document:

      <a id="anchor1"></a>

      <a id="anchor2"></a>

      <a id="anchor3"></a>


      When a trigger is reached in my Edge composition I would like the externally loaded HTML page to jump or possibly smoothly scroll to these various anchors.


      Any suggestions?