without using the DynAPI? I AM using the DynAPI and I was curious about this point because I've never seen it done using Javascript (and not document.write("<DIV>...</DIV>"). I did look in dynlayer.js and browsed through the specificCreate method, but I didn't see anything that made sense to me, except the section that does this for all browsers other than ie/ns4/ns6: this.elm=new Layer(this.w,this.parent.elm);
I'll try looking into the code a bit more to see what else I can dig up. I'm sure there are others out there who aren't just using the DynAPI, but want to get to know how it works inside, so if posting a question for that is silly, then what's this mail list for? :) Thanks for the help anyway --JC ----- Original Message ----- From: "Doug Melvin" <[EMAIL PROTECTED]> To: "Josh Chu" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, November 26, 2001 8:33 AM Subject: Re: [Dynapi-Help] How the Dynapi writes layers/divs to the browser > Asking us to tell you how the DynAPI works without using the DynAPI is just > plain silly. > Open up dynlayer.js and look at the function called specificcreate and you > wil lhave you exampls for IE,NS and DOM > ----- Original Message ----- > From: "Josh Chu" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, November 24, 2001 3:46 PM > Subject: [Dynapi-Help] How the Dynapi writes layers/divs to the browser > > > > How does the DynAPI write layers (i.e. <DIV>...</DIV>) to the browser? I > > know with the DynDuo you must define the div tags between the <BODY> and > > </BODY> tags, but I also know that a major difference between DynDuo and > > DynAPI is that the DynAPI doesn't require the <DIV> tags to be defined. > Can > > someone post an example of how the DynAPI creates layers (without using > > DynObject and DynLayer)? I'm assuming it uses javascript to > manipulate/add > > these objects to the DOM. I know you can do this directly in netscape by > > doing something like "var myLayer = new Layer(100,this);". How would one > do > > this in IE? I'd think that doing just a "document.write(...)" to write the > > DIV elements would be pretty lame, and I don't see that happening in the > > DynAPI. I see that the DynAPI layers/objects are created as > > document.all.DynObject1...n. Where is this being done? Can anyone shed > > some light on this for me? > > > > Thanks! > > --JC > > > > _______________________________________________ > > Dynapi-Help mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/dynapi-help > > > > > _______________________________________________ > Dynapi-Help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dynapi-help > _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help