Hey all,
Well, I have posted twice trying to get help with inline layers in NS 6.
Because there seems to be very little DynAPI specific information on the
problem I am trying to trace it and understand more about how DynAPI works
in the process so maybe I can help solve some of these problems in the
future.
Okay, I have read just about everything I can get my hands on concerning
DHTML in NS 6. It is all pretty simple and I think I have good grasp of it.
But so far I have not been able to determine exactly where in DynAPI the
problem is. I need to know that before I can begin to fix it. So with the
help of the list I am going to try and track it down.
I am basing all of my NS6 tests on the inline sample in the examples
directory.
Here is the code that triggers the error message:
var layer1 = this.document.all['layer1']
layer1.moveTo(100,100)
The error message is:
layer1 has no properties
This happens on the line where the moveTo() method is called.
This tells me that "this.document.all['layer1']" did not return the object
that was expected. So this is where I'll start.
Where and when is the "DynAPI.document.all" object constructed?
-- Matthew Shirey
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-help