From: Raymond I. <xw...@ya...> - 2003-04-25 20:31:40
|
--- Kevin <ke...@ke...> wrote: > Hi Raymond, > > I tried your updates. NS4 on Linux still crashes. > What > version of Linux are you testing against? NS4 should > come as standard. Using the gnome window manager > start->programs->internet->Netscape Communicator. > > Some info' though. I moved the click link to the > child > and it works plus clicking the set table size links > work > too. Then I noticed if the mouse doesn't move off > the > counter link it works but then as soon as the mouse > is > moved crash! Attached modified test file. > > In dynlayer_ns4.js : > 1) _assignElement > There is a comment: > // useful for <forms>, images, links, etc > - perhaps this is the problem area > 2) enableBlackboard > var parentElement = this.parent.isClass('DynLayer')? > this.parent.elm : this.parent.frame; > var elm = this._blkBoardElm = new Layer(0, elm); > - the parent should be passed to the new Layer cmd > though this doesn't fix it. > > Hope this helps. Does just including 'DynLayer' > include > any more of the api by default - I'm thinking of the > all > the mouse event stuff. As the problem is with > clicked > links rewritten to the blkboard layer with setHTML. Thanks for the feedback. Including dynapi.api.DynLayer will not include the mouse events. I'm also of the opinion that it's the link that's causing the problem. I would suggest that we move it outside of the layer. To see if your version of ns4 is really having a problem with links or mouse events please run the dynapi.api.mouseevent.html example. It it crashes with this example then will have to trace the problem. -- Raymond Irving > - > Kevin > > > > > > ATTACHMENT part 2 application/x-zip-compressed name=dynapi.api.dynlayer-blackboard.zip __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com |