2014-12-05 85 views
0

我有一個邊緣動畫。我正在使用whmcs標題模板。Adob​​e Edge動畫不顯示whmcs

<!--Adobe Edge Runtime--> 
     <meta http-equiv="X-UA-Compatible" content="IE=Edge"> 
     <script type="text/javascript" charset="utf-8" src="templates/{$template}/edge.5.0.1.min.js"></script> 

     <style> 
      .edgeLoad-navalti { visibility:hidden; } 
     </style> 
     <script> 
      AdobeEdge.loadComposition("Untitled-1", "navalti",{ 
       scaleToFit: "none", 
       centerStage: "vertical", 
       minW: "1024px", 
       maxW: "undefined", 
       width: "1920px", 
       height: "250px" 
      }, {"dom":{}}, {"dom":{}}); 
     </script> 
<!--Adobe Edge Runtime End--> 

和編輯動畫領域<div>

<div id="Stage" class="navalti">     
    <div id="Stage_Rectangle" class="edgeLoad-navalti"></div> 
</div> 

但開在Chrome網站的時候,我得到這個錯誤:

回答

0

不能使用{或}中whmcs模板。 嘗試

  <meta http-equiv="X-UA-Compatible" content="IE=Edge"> 
     <script type="text/javascript" charset="utf-8" src="templates/{$template}/edge.5.0.1.min.js"></script> 
{literal} 
     <style> 
      .edgeLoad-navalti { visibility:hidden; } 
     </style> 
     <script> 
      AdobeEdge.loadComposition("Untitled-1", "navalti",{ 
       scaleToFit: "none", 
       centerStage: "vertical", 
       minW: "1024px", 
       maxW: "undefined", 
       width: "1920px", 
       height: "250px" 
      }, {"dom":{}}, {"dom":{}}); 
     </script> 
{/literal} 
<!--Adobe Edge Runtime End--> 
+0

您還可以用{redeem}替換{用{ldelim}和}。 – 2015-01-27 07:35:19