0 Replies Latest reply on Aug 27, 2015 1:37 AM by K.DANGY

    Trouble to put js in my Edge project

    K.DANGY

      Hi,

       

      I'm starting a project and need to put this particle script Edit fiddle - JSFiddle on my Edge composition. I've already put the link of the script in my html code, but I don't know what can I do next?

       

      Do you have some answers, it will be really nice, because I'm struggling with that.

       

      Here is the HTML code

       

      <!DOCTYPE html>

      <html style="height:100%;">

      <head>

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

        <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>

          <link rel="stylesheet" href="css/confetti.css">

        <title>Sans titre</title>

      <!--Adobe Edge Runtime-->

          <script type="text/javascript" charset="utf-8" src="edge_includes/edge.6.0.0.min.js"></script>

          <style>

              .edgeLoad-EDGE-27927642 { visibility:hidden; }

          </style>

      <script>

         AdobeEdge.loadComposition('animation-anniversaire', 'EDGE-27927642', {

          scaleToFit: "none",

          centerStage: "none",

          minW: "0px",

          maxW: "undefined",

          width: "100%",

          height: "0%"

      }, {

          dom: [

       

       

          ],

          style: {

              '${symbolSelector}': {

                  isStage: true,

                  fill: ["rgba(255,255,255,1)"]

              }

          }

      }, {

          dom: [

       

       

          ],

          style: {

              '${symbolSelector}': {

                  isStage: true,

                  fill: ["rgba(255,255,255,1)"]

              }

          }

      });

      </script>

      <!--Adobe Edge Runtime End-->

          <script type="text/javascript" charset="utf-8" src="js/confetti.js"></script>

      </head>

           

      <body style="margin:0;padding:0;height:100%;">

        <div id="Stage" class="EDGE-27927642">

        </div>

      </body>

      </html>