0 Replies Latest reply on Nov 24, 2016 9:26 AM by Spout

    Control image loded with Append

    Spout Level 1

      Hello,

      I am using 'append' to add images to an animation, but I want to access thoses images after, to set their position during my animation, but I can not access, is someone known a method for that?

       

      My code :

       

      var myImagetag = '<IMG STYLE="position:absolute; LEFT:10px;" src="images/00_Images/portrait.jpg"  width="100%" height="100%" >';

      sym.$('EmplacementImage').append(myImagetag);

       

      var myImagetag1 = '<IMG STYLE="position:absolute; LEFT:50px;" src="images/00_Images/portrait.jpg"  width="100%" height="100%" >';

      sym.$('EmplacementImage').append(myImagetag1);

       

       

      I tried that :

       

      sym.$('EmplacementImage')[0].css("left","180");

      or

      sym.$('EmplacementImage')[1].css("left","180");

       

      but i can not access to the child in my symbol

       

      thank you for your help