php - Adobe Edge Animation doesn't show on whmcs -
i have edge animation. using whmcs header template.
<!--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--> and editing animation area <div>:
<div id="stage" class="navalti"> <div id="stage_rectangle" class="edgeload-navalti"></div> </div> but when opening site in chrome, error:

you can not use { or } in whmcs templates. try
<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-->
Comments
Post a Comment