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

Does a wrapper html file need to be in the same directory? Need advice

$
0
0

I'm doing some RnD experiments for an upcoming project and I would like to use Edge.

 

What I'm trying to do is load 2 different compsites in a wrapper.html file that is level above the compsites. For instance my setup is

 

project/wrapper.html

project/product1/product1.html

project/product2/product2.html

 

In my wrapper file I have this, but this doesn't work

 

<!DOCTYPE html>

<html>

<head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

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

    <title>Untitled</title>

<!--Adobe Edge Runtime-->

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

    <style>

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

    </style>

<!--Adobe Edge Runtime End-->

 

</head>

<body style="margin:0;padding:0;">

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

    </div>

</body>

</html>

 

But when I move the wrapper.html file into the same directory as product1 and modify .js path and it loads fine? So my question is how do people normally load multiple compsites that resided in a different directory? What is the best method for accomplishing this? If anyone can point me in the right direction please. Thanks in advance.


Viewing all articles
Browse latest Browse all 9897

Trending Articles