| 
      
      
      From: Geoffrey M. <gm...@51...> - 2000-11-27 18:40:33
      
     | 
| My directory structure is fine. I'm using a single dot because that's how my structure is setup:
myFolder
--->js
------->lib
----------->dynapi
---------------------->api
---------------------->ext
---------------------->gui
The problem is somewhere in either the loadHTML-public.js.
Still hoping for some help....
Thanks
On Sat, 25 Nov 2000 21:08:22 +0100, Richard :o\) wrote:
>hi,
>The most obvious mistake I see is that you are missing two dots.It should be
>:
>src="../js/dynapi.js">
>and:
>DynAPI.setLibraryPath('../js/lib/')
>And check your directory-structure is correct.
>cheers,
>Richard:o)
>
>----- Original Message -----
>From: "Geoffrey Makstutis" <gm...@51...>
>To: <dyn...@li...>
>Sent: Sunday, November 26, 2000 5:14 PM
>Subject: [Dynapi-Help] loadHTML
>
>
>> I'm trying to load external content into a dynlayer using the
>loadHTML-public.js file (supplied by Brandon Myers). However, I keep getting
>a series of errors as follows:
>>
>> dyndoc is not defined
>>
>> followed by:
>>
>> dynAPI is not defined
>>
>> The code I'm using is:
>>
>> <script language="Javascript" src="./js/dynapi.js"></script>
>> <script language="Javascript">
>>
>> DynAPI.setLibraryPath('./js/lib/')
>> DynAPI.include('dynapi.api.dynlayer')
>> DynAPI.include('dynapi.api.browser')
>> DynAPI.include('dynapi.api.dyndocument')
>> DynAPI.include('dynapi.api.events')
>> DynAPI.include('dynapi.ext.slide')
>> DynAPI.include('dynapi.ext.loadHTML-public')
>>
>> DynAPI.onLoad=function() {
>> myLayer = new DynLayer()
>> myLayer.setSize(100,100)
>> myLayer.setBgColor('#c0c0c0')
>> myLayer.moveTo(100,100)
>> dynAPI.dyndoc.addChild(myLayer)
>> myLayer.loadHTML('index.html')
>> }
>>
>> Can anyone suggest a fix or is there a better .js file for loading
>external content into a layer?
>>
>> Thanks
>>
>>
>> _______________________________________________
>> Dynapi-Help mailing list
>> Dyn...@li...
>> http://lists.sourceforge.net/mailman/listinfo/dynapi-help
>> ____________________________________________________________
>> Get your FREE personal .com domain name and
>> NAMEzero Personal Portal at: http://www.namezero.com.
>> For customer service, mailto:cus...@na....
>>
>>
>
>
>_______________________________________________
>Dynapi-Help mailing list
>Dyn...@li...
>http://lists.sourceforge.net/mailman/listinfo/dynapi-help
>
 |