From: Clemens E. <lin...@we...> - 2004-10-19 16:50:59
|
Hi again, First of all thank you for explainig the licensing details so exactly! Hmm, I just want to use dynapi, I dont want to modify it etc... IOElement refuses to work with Konqueror or Opera-7.5, I had a look at the source but as I already said my JavaScript is quite bad and I dont know many background-things of dynapi. It fails within this piece of code: > p.getScope = function(thread) { > var scope; > if (!thread) thread=this._elmThread; > if (this._winXFrames && this._winXFrames.top) scope = this._winXFrames.top.frames[thread]; > else if (dynapi.ua.ns4) scope = this.doc.layers[thread]; > else scope = window.frames[thread]; > if (!scope) return alert('IOElement Error: no load element'); > else return scope; >}; Am I right that scope is the frame that is used for client/server communication? If yes it seems opera and konqueror maybe have not loaded this frame already, would this be a possible explanation? Thread returns a valid value, however it really seems that it cannot find the frame. I added a backtrace at the end of the file. Any ideas howto go further to find the reason of this behaviour? Thanks in advance, lg Clemens Here is the backtrace of the not-working getScope-Function: Line 99 of linked script http://localhost:3355/data/dynapi/util/ioelement.js if (this.getScope()) Line 254 of linked script http://localhost:3355/data/dynapi/api/event.js this[i](); Line 111 of linked script http://localhost:3355/data/dynapi/api/event.js c._flagCreateEvent("create"); Line 26 of linked script http://localhost:3355/data/dynapi/api/dynlayer_opera.js DynElement._flagCreate(this); Line 135 of linked script http://localhost:3355/data/dynapi/api/dyndocument.js c._create(); Line 271 of linked script http://localhost:3355/data/dynapi/api/dyndocument.js dynapi.document._create(); Line 123 of linked script http://localhost:3355/data/dynapi/dynapi.js this._loadfn[i](); In unknown script dynapi._onLoad(); |