From: <rua...@ee...> - 2001-01-10 13:22:42
|
I've been looking at one bit that has me baffled. I've been having a look at the slide() method for the DynLayer and what I can't figure out is how the following line works. this.slideInterval = setInterval(this+".slide()",speed) // line 34 in slide.js To learn how the DynAPI works I've been trying to see if I could recreate it. So I have a layer obect that is very much like the DynLayer object (only has the css properties, none of the parent-child interface). Whenever I try to set the interval to start the slide I get an error message because the <code>this</code> is evaluated and turned into a string and I get the following error: IE: object is not defined (ie turns the reference to the object into '[object]' ) NS: missing ] after element list. (ns: '[object Object]') Any ideas, Ruairi |