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

scrollTop(); functions not working in V5.0.1

$
0
0

Reading article 1361668 by heathrowe on getting the scroll position does not work when creating a new document in Edge Animate V5.0.1 (2014.1):

 

//"Text" on stage

sym.$("Text").css("position","fixed");

 

 

$(window).scroll(function () {

      var myScroll = $(window).scrollTop();

      sym.$("Text").html("You've scrolled " + myScroll + " pixels");

    console.log('myscroll: ' + myScroll);

    });

 

$('body').click(function(){

    var scrollPost = $(document).scrollTop();

    sym.$("Text").html("On click your scroll is at " + scrollPost + " pixels");

    console.log("myscroll when clicked: " + scrollPost);

});

// console returns error

 

Likewise the Parallax Scrolling by Edge Docks doesn't work for the same reason, but works in V4.0.1 as does the scrollTop();

Is there an update coming soon?


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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