6 Replies Latest reply on Nov 18, 2014 11:57 AM by resdesign

    Cannot get .css working

    J Bennett

      Hey folks, trying to set a CSS property in the code, and having no luck.

       

      Based on the information in a previous thread I'm doing the following:

       

      On stage creationComplete

      sym.$("Test").css({"height":"100%","width":"auto","opacity":"0.6"});

       

      When I test the file though, the code has no effect.

       

      I've also tried this same action on a Timeline Trigger as well with no luck.

       

      What am I doing wrong?