From: bob b. <bob...@ci...> - 2000-11-06 19:28:54
|
I think I'm having problems just trying to load the "JS" resources, not sure though. Where is the "DynAPI.document" stored? I looked through things and found the DynEvent, the DynDocument (is this the same as "document", I saw this in the "DynDocument (frame)" function). Most likely I'm confused by the naming of things. It's just this one example that I can't seem to make work, I got through all the other "layertut's". Right this moment, I'm trying to set up the same file structure here at work, So I can work here. No, they won't let me have access with VPN through the Firewall, That felt good to say. All I get is a blank screen in the browser, nothing about not being able to find things at all, not even a javascript error. By the way, what's the best Javascript debugger to use from the client side, if any? bobb Pascal Bestebroer wrote: > care to mention what error you get? or what's happening? :) > Pascal Bestebroer pa...@dy... http://www.dynamic-core.net > > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens rlb > Verzonden: maandag 6 november 2000 3:50 > Aan: dyn...@li... > Onderwerp: [Dynapi-Help] Re: Howdy > > Oops, I forgot to change the "documents" in the attached back to > "document" as the tutorial had them originally, just trying some > things to get it to work. > > I got through the second part of the tutorial (5) though. > > bobb > > rlb wrote: > > > I can't seem to get to work from the tutorial: > > > > Using the DynAPI2 > > > > part 5 : DynLayer advanced > > > > by Pascal Bestebroer > > July 22, 2000 > > > > > > <html> > > <head> > > <title>Inline layers</title> > > > > <Script language="Javascript" > > src="../../core/js/dynapi.js"></script> > > > > <Script language="Javascript"> > > DynAPI.setLibraryPath('../../core/js/lib2.0/') > > DynAPI.include('core.api.*') > > > > DynAPI.onLoad=function() { > > > > DynAPI.documents.all["testlayer"].setBgColor('#c0c0c0') > > > > DynAPI.documents.all["testlayer"].setSize(60,60) > > > > DynAPI.documents.all["testlayer"].moveTo(100,100) > > } > > </script> > > > > </head><body> > > <div id="testlayer" STYLE="position: > > absolute">Testing inline layers</div> > > </body> > > </html> > > > > Should I be using "DynDocument" instead? I didn't see a function > > for "document" in any of the CORE scripts. > > > > Just plain old lost bobb > > > > > > > > > > > > > > > > > > > > > > -- > > -+-+-+-+-+- > > > > > > bobb > > > > http://64.33.167.222/ > > > > -- > -+-+-+-+-+- > > > bobb > > http://64.33.167.222/ > > |