this.elm.all.tags("a")[] will return al limages for only that layer? ----- Original Message ----- From: "Dan Steinman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 04, 2001 8:00 PM Subject: Re: [Dynapi-Dev] links.lyobj
> You can obtain the links properly with : > > this.elm.all.tags("a")[...] > > It's not a terrible idea, and I agree not a necessary one. It's only of use if you need to change the layer the link is in - and quite often this is not the case. > > Also, I haven't done so yet, but I'm pretty sure when I redo the event system we won't need the .lyrobj pointer on the links (I think images are necessary for NS though). > > Regards, > Dan Steinman > > On Wed, Dec 05, 2001 at 10:02:57AM +1100, Michael Pemberton wrote: > > I think we have our wires crossed. In IE, the .doc pointer that is used in > > the code will always point to the main document. In NS, it points to the > > individual layer's document object. This is where the difference lies. > > > > Because IE points to the same document for ALL layers, there is no way that > > it is possible to tell where the link is contained. This is why the > > isDirectParentOf (sp?) function was introduced. > > > > This was aimed at allowing more accurate detection of the location of an > > object within the layer structure. > > > > If you have code that shows otherwise, I am eager to see it. I have to > > admit that it has been a while since I have looked at the DynAPI code in > > detail and I am not as familiar with it as I was a year ago. > > > > >From: "Doug Melvin" <[EMAIL PROTECTED]> > > >Date: Tue, 4 Dec 2001 17:38:41 -0500 > > > > > >I have to say that I think you are wrong. > > >If what you say was true, then when I clicked on my link, all of the > > >DynLayers with links in them should have disapeared? > > >Or, at least not the one I expected? > > >It surely seems stable. > > >I will of course varify this.. stay tuned. > > > > > > _________________________________________________________________ > > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > > > > _______________________________________________ > > Dynapi-Dev mailing list > > [EMAIL PROTECTED] > > http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/ > > _______________________________________________ > Dynapi-Dev mailing list > [EMAIL PROTECTED] > http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/ _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/