From: rlb <bl...@wi...> - 2000-11-06 02:56:28
|
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/ |