1 Reply Latest reply on Nov 7, 2013 8:04 AM by Zaxist

    Data attribute


      In HTML I can set a data-id for example


      <a href="" class="areaFilter" data-id="94" data-lat="53.380666" data-long="-1.477715">Sheffield</a>


      Can I do this in edge and it work outside of the animation?

        • 1. Re: Data attribute
          Zaxist Level 4

          you can do this


          add a Text with a . on it on the Stage

          then in compositionReady write this :


          sym.$("Text").html("<a href='' class='areaFilter' data-id='94' data-lat='53.380666' data-long='-1.477715'>Sheffield</a>")



          1 person found this helpful