From: Raymond I. <xw...@ya...> - 2004-10-20 15:20:27
|
Wow! What a thread! Firstly let me say thanks to all who have helped to keep DynAPI alive. My greatest wish is to return to this project in the near future but time will not allow for that to happen now. As for IOElement and opera it seems that the IFrame object isn't available until after the page is loaded. I think there should be a trap ofr this inside the ioelement.js file. You can try call the the ioelement object after the page loads to see it that works. __ Raymond Irving --- Clemens Eisserer <lin...@we...> wrote: > 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(); > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide > on ITManagersJournal > Use IT products in your business? Tell us what you > think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! > Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help > |