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

Animation in html vs location path

$
0
0

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


Viewing all articles
Browse latest Browse all 9897

Trending Articles