0 Replies Latest reply on Jul 1, 2015 4:23 AM by knackje

    Explain edge web code

    knackje

      Hi alle,

       

      Just started with edge!

       

      I created an edge animation and published it. I want to insert the animation to my website. So als descripte on many tutorials, i did the following:

       

      Open de published html and copied the code as told. Put the following code between my <head> tags:

      <!--Adobe Edge Runtime-->
          <script type="text/javascript" charset="utf-8" src="edge_includes/edge.6.0.0.min.js"></script>
          <style>
              .edgeLoad-EDGE-6075398 { visibility:hidden; }
          </style>
        <script>
         AdobeEdge.loadComposition('header', 'EDGE-6075398', {
            bScaleToParent: true,
          scaleToFit: "width",
          centerStage: "none",
          minW: "0px",
          maxW: "undefined",
          width: "600px",
          height: "400px"
      }, {dom: [ ]}, {dom: [ ]});
      </script>
      <!--Adobe Edge Runtime End-->
      

       

      In my body i put the following code:

       

      <div id="Stage" class="EDGE-6075398"> </div>
      

       

      It works... but i don't know what i did

       

      1. row 4 why hidden?
      2. row 1 of the second script: The id ="stage" where is it reference to?
      3. the same as above, but then where is that class reference to?

       

       

      tnx for explaining