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

Edge composition loads perfectly, but it needs long time to load. Why?

$
0
0

Hello again,

the edge animate composition loads perfectly, but it needs around 12 seconds to load. Can someone here explain me if there is problem something in the code below or anything else?

It demonstrates sticky menu. Plugin used from garand sticky.


This is the code:

 

<!doctype html>

<html>

<head>

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

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

  <title>Sticky Plugin</title>

  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

  <script type="text/javascript" src="jquery.sticky.js"></script>

  <script>

    $(window).load(function(){

      $("#sticker").sticky({ topSpacing: 0 });

    });

  </script>

  <style>

    body {

      height: 10000px;

      padding: 0;

      margin: 0;

    }

  </style>

<!--Adobe Edge Runtime-->

  <style>

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

  </style>

<script>

   AdobeEdge.loadComposition('Untitled-1', 'EDGE-16697612', {

    scaleToFit: "none",

    centerStage: "none",

    minW: "0",

    maxW: "undefined",

    width: "550px",

    height: "400px"

}, {dom: [ ]}, {dom: [ ]});

</script>

<!--Adobe Edge Runtime End-->

</head>

<body>

  <p>This is test this is text this is text at the top.</p>

  <div id='sticker' class='clearfix'>

 

        <!-- Edge Animate Stage -->

 

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

    </div>

 

        <!-- End Edge Animate Stage -->

     

  </div>

  <p>This is test this is text this is text at the bottom.</p>

</body>

</html>

 

 

Thanks,

CP

 

EA version CC 2014.1.1


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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