From: Josep M. i T. <jm...@ne...> - 2000-12-15 06:02:56
|
Hi! I've tried a debugging session of DynAPI in NS 4.7 with Dreamweaver 4 and I couldn't: the browser reports errors in the javascript. I've also tried debugging some javascript (non DynAPI) on IE 5.5 and it all worked properly (but the javascript has a lot mor simple than DynAPI). BTW, the debugger reports a warning in DynAPI.include: include : function(src,path) { if (src.substring(src.length-3)!=".js") src+=".js"; if (!path) var path=DynAPI.librarypath; [...] It says: "redefinition of path" Couldn't it be done without this 'var'? If not the variable name could be changed. I have another question: in DynLayer.prototype.setHTML html is assigned to this.html this way: this.html=html?html:''; and then html is used instead of using this.html? Can something happen if we try setHTML(null) or setHTML()? That's all folks! Josep |