0 Replies Latest reply on Apr 9, 2013 8:09 AM by loxfear

    scroll listener .. what did i do wrong

    loxfear Level 1

      hi whats wrong in this code, im not a good coder so i have no idea why this doesnt work for me

       

      var myDiv = sym.$("bgg");

      var hlight = sym.$("HLGHT");

       

      if (myDiv.scrollTop() > 100) {

                                              hlight.animate({right: 132}, 1000);

                                    }

       

       

      placed it in scroll under stage

       

      thx for any help