2 Replies Latest reply on Feb 23, 2014 11:33 PM by Hourless

    Animation in html vs location path

    Hourless

      Hi! (again today )

       

      Im trying to make one animation which will be used in main page and few sub-pages.

      Well animation is rdy and works fine. But...

       

      Lets say that this is my root structure:

      /root

      index.html

      edge_includes(folder)

      anim.an

      anim.html

      ...(and rest of egde anim files)

      subpages(folder)

       

      /root/subpages

      sub1.html

       

      into index.html i've putted:

      <head>

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

       

           <!--Adobe Edge Runtime-->

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

               <style>

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

               </style>

           <!--Adobe Edge Runtime End-->

       

      </head>

      <body>

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

      </body>

      and works fine.

       

      What to do (without coping all anim files) to make it works in sub1.html?

       

      Tried to change <script> src to ../menu_edgePreload.js, but browser still search files in subpages folder

       

      PS. sry for long "way around" explentation, but had no idea how to describe the problem to be understandable for everybody