cssonclickhtml5-animationadobe-edge

How can I play an Edge animation onclick?


I want to have an Adobe Edge animation, which plays after a visitor clicks an ordinary HTML form button. How can this be done?


Solution

  • ball_edge.js
    
    remove:
    $(window).load(function() {
    $.Edge.play();
    });
    
    
    The HTML file
    
    Add immediately before </HTML>:
    <script>
    $("#RoundRect1").click(function () {
    $.Edge.play();
    });
    </script>