Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Jump to anchors of an externally loaded HTML file

$
0
0

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?


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>