[Dynapi-Dev] Relative DynLayers

2003-04-01 Thread Raymond Irving
Hello, I've managed to create the setPosition(p) function which supports absolute, relative and fixed positions. The insertChild() function was also modified from insertChild(c,usebp) to insertChild(c,pos, usbp). For Example: dynapi.document.insertChild(lyr,'relative'); Please see the attached

[Dynapi-Dev] Creating inline dynlayers in

2003-04-01 Thread Benoit Marchant
Hi I have a case where I have a onload on They will still be added as child of the document in the onload. Thanks, Benoit --- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No othe

Re: [Dynapi-Dev] DynLayer containers with style="position:relative;"

2003-04-01 Thread Benoit Marchant
See coments below On Tuesday, April 1, 2003, at 03:08 PM, Raymond Irving wrote: By default 0 is value used for x,y whenever they are set to null. One way to get relative position is to use setAnchor(). See dynapi.api.dynlayer-anchor-anchoring.html for some information. The other thing is to create

Re: [Dynapi-Dev] DynLayer containers with style="position:relative;"

2003-04-01 Thread Raymond Irving
By default 0 is value used for x,y whenever they are set to null. One way to get relative position is to use setAnchor(). See dynapi.api.dynlayer-anchor-anchoring.html for some information. The other thing is to create a setPosition() function that will allow a user to set the position of the l

Re: [Dynapi-Dev] setBorder problem

2003-04-01 Thread Kevin
"Benoit Marchant" <[EMAIL PROTECTED]> wrote: > Did you try using individual borders: border-right: 1px solid blue ? This method doesn't allow individual top,right,bottom and left settings dynlayer_base.js: p.setBorder = function(w,c) I don't know the core dynapi code well enough to mess around w

Re: [Dynapi-Dev] setBorder problem

2003-04-01 Thread Benoit Marchant
Did you try using individual borders: border-right: 1px solid blue ? Benoit On Tuesday, April 1, 2003, at 02:09 PM, Kevin wrote: Hello everyone, There is a problem with setBorder on Mozilla. Only the top and left borders are set. Reading back the elements css after it's been set results in som

[Dynapi-Dev] setBorder problem

2003-04-01 Thread Kevin
Hello everyone, There is a problem with setBorder on Mozilla. Only the top and left borders are set. Reading back the elements css after it's been set results in something like: In Mozilla this.css.borderStyle: solid solid solid solid this.css.borderColor: #00 #00 #00 this.css.borderW

[Dynapi-Dev] DynLayer containers with style="position:relative;"

2003-04-01 Thread Kevin
Hello everyone, I may have lost the plot. But I thought if you specified a DynLayer with x=null,y=null it was given a "position:relative" in the layer/div inline style? This may have been something dropped from dynapi2. I was hoping to do: Heading A Some html. dynapi.document.insertChikl(a) He

Re: [Dynapi-Dev] anchors:

2003-04-01 Thread Doug Melvin
Agree. :-) - Original Message - From: "Raymond Irving" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 01, 2003 9:12 AM Subject: Re: [Dynapi-Dev] anchors: > > Cool. I think I'll add this to the examples section. > Agree? > > -- > Raymond Irving > > --- Doug Melvin <[EMAIL

Re: [Dynapi-Dev] Why didn't anyeon say anthing?!?! (or: library functions)

2003-04-01 Thread Doug Melvin
Very cool! - Original Message - From: "Raymond Irving" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 01, 2003 9:06 AM Subject: Re: [Dynapi-Dev] Why didn't anyeon say anthing?!?! (or: library functions) > > Please see below: > > --- Doug Melvin <[EMAIL PROTECTED]> wrote:

Re: [Dynapi-Dev] anchors:

2003-04-01 Thread Raymond Irving
Cool. I think I'll add this to the examples section. Agree? -- Raymond Irving --- Doug Melvin <[EMAIL PROTECTED]> wrote: > And for my next trick.. > > :-) > > > - Original Message - > From: "Doug Melvin" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, April 01, 2003 1:

Re: [Dynapi-Dev] Why didn't anyeon say anthing?!?! (or: library functions)

2003-04-01 Thread Raymond Irving
Please see below: --- Doug Melvin <[EMAIL PROTECTED]> wrote: > Woh dudes.. I had a flash, and had to try it our.. > AND IT WORKED!! > The only reason I'm surprised is taht I tried > something similar in 2.x and couldn't get it > working.. > > Sorry here's the deal: > In order to reduce the amoun