You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(75) |
Nov
(252) |
Dec
(418) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(659) |
Feb
(1039) |
Mar
(870) |
Apr
(235) |
May
(329) |
Jun
(251) |
Jul
(123) |
Aug
(119) |
Sep
(67) |
Oct
(194) |
Nov
(535) |
Dec
(133) |
2002 |
Jan
(122) |
Feb
(24) |
Mar
(29) |
Apr
(28) |
May
(16) |
Jun
(20) |
Jul
(11) |
Aug
(12) |
Sep
(13) |
Oct
(14) |
Nov
(23) |
Dec
(19) |
2003 |
Jan
(28) |
Feb
(170) |
Mar
(288) |
Apr
(211) |
May
(126) |
Jun
(166) |
Jul
(131) |
Aug
(102) |
Sep
(211) |
Oct
(301) |
Nov
(22) |
Dec
(6) |
2004 |
Jan
(14) |
Feb
(16) |
Mar
(7) |
Apr
|
May
(8) |
Jun
(25) |
Jul
(21) |
Aug
(2) |
Sep
(7) |
Oct
|
Nov
(2) |
Dec
(1) |
2005 |
Jan
(4) |
Feb
(2) |
Mar
(14) |
Apr
(24) |
May
(3) |
Jun
(7) |
Jul
(30) |
Aug
(5) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
(1) |
2006 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
|
Dec
|
From: Doug M. <do...@cr...> - 2003-04-03 19:15:05
|
A point: if you include style= in an element in netscape, netscape has a tendance to crash. Using class= and Using a class object woul dbe better.. I.E. inserting <Style> style object </style> in the document. I don't know if this can be done dynamically, but I sure a hell hope so. ----- Original Message ----- From: "Benoit Marchant" <mar...@ma...> To: "Kevin" <ke...@ke...> Cc: "Dynapi-Dev" <Dyn...@li...> Sent: Thursday, April 03, 2003 1:37 PM Subject: Re: [Dynapi-Dev] DynLayer style sheet class. > I agree, we need this. The main benefit of having a style object that > could be used either as a class or a style from a css point of view, is > that it provides a way to change the properties of that style object at > anytime, which would then propagate these changes to all dynlayers > using it. > > Benoit > > On Thursday, April 3, 2003, at 09:38 AM, Kevin wrote: > > > Hello, > > > > I've heard Raymond may be doing something in the area of > > dynapi style objects? Sorry if I've got the wrong idea. > > > > Could we have a simple starting point by just passing a class > > name to the DynLayer constructor or e.g. lyr.setClass('note'). > > > > The string 'class="note"' would be inserted in the div/layer/ilayer > > tag before the big 'style="..."' string so we can pick up a > > prepared style sheet class from a <style>...</style> section. > > > > - > > Kevin > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > No other company gives more support or power for your dedicated server > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://www.mail-archive.com/dyn...@li.../ > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > |
From: Benoit M. <mar...@ma...> - 2003-04-03 18:37:49
|
I agree, we need this. The main benefit of having a style object that could be used either as a class or a style from a css point of view, is that it provides a way to change the properties of that style object at anytime, which would then propagate these changes to all dynlayers using it. Benoit On Thursday, April 3, 2003, at 09:38 AM, Kevin wrote: > Hello, > > I've heard Raymond may be doing something in the area of > dynapi style objects? Sorry if I've got the wrong idea. > > Could we have a simple starting point by just passing a class > name to the DynLayer constructor or e.g. lyr.setClass('note'). > > The string 'class="note"' would be inserted in the div/layer/ilayer > tag before the big 'style="..."' string so we can pick up a > prepared style sheet class from a <style>...</style> section. > > - > Kevin > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > |
From: Kevin <ke...@ke...> - 2003-04-03 17:38:10
|
Hello, I've heard Raymond may be doing something in the area of dynapi style objects? Sorry if I've got the wrong idea. Could we have a simple starting point by just passing a class name to the DynLayer constructor or e.g. lyr.setClass('note'). The string 'class="note"' would be inserted in the div/layer/ilayer tag before the big 'style="..."' string so we can pick up a prepared style sheet class from a <style>...</style> section. - Kevin |
From: Kevin <ke...@ke...> - 2003-04-03 17:26:02
|
Hello everyone, Using the basic datasource example: dynapi.util.datasource.html i.e no soda or sync I get the following alert error on connecting to the datasource "Alert! did not find a converter or decoder." I am a bit puzzled as the message doesn't seen to come from the dynapi3x. It shouldn't be Java related as soda and sync aren't needed for the HTTP get. Any help would be appreciated. - Kevin |
From: Kevin <ke...@ke...> - 2003-04-03 17:13:00
|
"Raymond Irving" <xw...@ya...> wrote: > Many thanks for the feedback. I've implemented the > <ilayer> tag as suggested and it worked great. I saw the <ilayer> idea in dynapi2. Though I'm not sure if it's 'inflow' code worked. > Please see the attached file for the updates to > dynlayer_ns4.js I've found that all children get an <ilayer> tag too. Can we specify 'relative' as below: -if(this._psition!='absolute') tag='ilayer'; +if(this._position!='relative') tag='ilayer'; - Kevin > -- > Raymond Irving |
From: Kevin <ke...@ke...> - 2003-04-03 17:11:06
|
See comments below. "Benoit Marchant" <mar...@ma...> wrote: > Hi > > I have a case where I have a onload on <IMG tag that call a setSize on > a dynlayer. This avoid me to calculate the size of the image server > side. As I'm trying to move this to use inline layers, when that <IMG > loads, the onload does > DynObject.all.myLayer.setSize(this.width,this.height), which means that > the dynlayer object needs to exist to receive that call. Right now, I > can have all the dynlayers creation code in the head. Does anyone see > an issue with this ? If I understand, you are generating <IMG src="..."> tags with no width / height attributes. If this is so, when the browser renders the page it has to wait for the whole image to download to work out the inflow / inline positioning of elements. If there are many images like this then I think the user may see some local browser / PC performance problems. - Kevin. > 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 other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |
From: Raymond I. <xw...@ya...> - 2003-04-03 13:07:46
|
Hi Ramesh, Please see below: --- Ramesh Pallikara <ra...@in...> wrote: > hi, > > i've seen a nice ibook example posted by Raymond as > a zip file. > i am trying to get that example working with JSP > instead of ASP. > but i haven't worked with asp, so i would like to > know which files > i will have to look into and make changes to get > that example working. > any ideas?????? The iBook example was based on dynapi 2.9 which can be downloaded here: http://prdownloads.sourceforge.net/dynapi/dynapi-2.9.zip?download To convert iBook to support JSP you would have to work on the ibook.asp and io.js server-side files. Best regards, -- Raymond Irving > regardz > ramesh pallikara > > -- > QOTD: > "I've always wanted to work in the Federal Mint. > And then go on > strike. To make less money." > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of > bandwidth! > No other company gives more support or power for > your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |
From: Ramesh P. <ra...@in...> - 2003-04-03 12:36:22
|
hi, i've seen a nice ibook example posted by Raymond as a zip file. i am trying to get that example working with JSP instead of ASP. but i haven't worked with asp, so i would like to know which files i will have to look into and make changes to get that example working. any ideas?????? regardz ramesh pallikara -- QOTD: "I've always wanted to work in the Federal Mint. And then go on strike. To make less money." |
From: Raymond I. <xw...@ya...> - 2003-04-03 04:48:22
|
Hello Everyone, I've managed to add the addHTML() function that was mentioned sometime ago. I'm having some problems with NS4. Could someone please take a look at it for me? -- Raymond Irving __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |
From: Kevin <ke...@ke...> - 2003-04-02 22:23:06
|
> Thanks for the files. They work fine in an earlier CVS > version but not in my new one. I best check I haven't > made a mistake. I have messed up my new CVS copy. My error. - Kevin |
From: Kevin <ke...@ke...> - 2003-04-02 21:59:40
|
Thanks for the files. They work fine in an earlier CVS version but not in my new one. I best check I haven't made a mistake. There is a typo in dynlayer_ns4.js: p.getOuterHTML() -if(this._psition!='absolute') tag='ilayer'; +if(this._position!='absolute') tag='ilayer'; Will the ilayer be OK with a position of fixed? I can't see a reason to create relative layers after the page loads but yes for fixed and absolute. - Kevin "Raymond Irving" <xw...@ya...> wrote: > Please see below: > > --- Benoit Marchant <mar...@ma...> wrote: > > > > On Wednesday, April 2, 2003, at 09:37 AM, Kevin > > wrote: > > > > > See comments below: > > > > > > "Raymond Irving" <xw...@ya...> wrote: > > >> Hello, > > >> > > >> I've managed to create the setPosition(p) > > function > > >> which supports absolute, relative and fixed > > positions. > > > > > > Yes this looks like what I had in mind. I'll need > > time to > > > work through it. > > > > > >> 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 file for the new changes. > > >> > > >> I can't get ns4 to work relative positions, could > > >> someone take a look at the code to see if they > > can > > >> help? > > > > > > I had put together a raw example to show what I > > meant > > > as I thought Raymond and Benoit were talking only > > about > > > fixing an element in the window no matter what the > > scroll > > > bar is.. > > > > > > This example uses an <ilayer> to give the relative > > container > > > and the normal <layer> for the absolute positioned > > children > > > in ns4. Any ideas how this could this be used with > > the new > > > setPosition()? > > > > > The example is working great. What Raymond did > > should work, as long as > > getOuterHTML is updated for NS4 to output an iLayer > > if the position is > > relative. > > Many thanks for the feedback. I've implemented the > <ilayer> tag as suggested and it worked great. > > Please see the attached file for the updates to > dynlayer_ns4.js > > > Also, in _create for NS4, we could to test the > > position. If the > > position is relative, then the code would do a > > document.write() of the > > getOuterHTML > > I can't see why we should do a document.write() after > the page has been loaded. Relative layers should/can > only be created before the page loads, correct? Would > it be of any value to create relative laters after the > page loads? > > -- > Raymond Irving > > > > > > > Benoit > > > > > > > Kevin > > > > > >> > > >> -- > > >> Raymond Irving > > >> > > >> > > __________________________________________________ > > >> Do you Yahoo!? > > >> Yahoo! Tax Center - File online, calculators, > > forms, and more > > >> http://tax.yahoo.com > > > <relative1.zip> > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online, calculators, forms, and more > http://tax.yahoo.com |
From: Benoit M. <mar...@ma...> - 2003-04-02 21:55:18
|
See below On Wednesday, April 2, 2003, at 12:44 PM, Raymond Irving wrote: > Please see below: > > --- Benoit Marchant <mar...@ma...> wrote: >> >> On Wednesday, April 2, 2003, at 09:37 AM, Kevin >> wrote: >> >>> See comments below: >>> >>> "Raymond Irving" <xw...@ya...> wrote: >>>> Hello, >>>> >>>> I've managed to create the setPosition(p) >> function >>>> which supports absolute, relative and fixed >> positions. >>> >>> Yes this looks like what I had in mind. I'll need >> time to >>> work through it. >>> >>>> 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 file for the new changes. >>>> >>>> I can't get ns4 to work relative positions, could >>>> someone take a look at the code to see if they >> can >>>> help? >>> >>> I had put together a raw example to show what I >> meant >>> as I thought Raymond and Benoit were talking only >> about >>> fixing an element in the window no matter what the >> scroll >>> bar is.. >>> >>> This example uses an <ilayer> to give the relative >> container >>> and the normal <layer> for the absolute positioned >> children >>> in ns4. Any ideas how this could this be used with >> the new >>> setPosition()? >>> >> The example is working great. What Raymond did >> should work, as long as >> getOuterHTML is updated for NS4 to output an iLayer >> if the position is >> relative. > > Many thanks for the feedback. I've implemented the > <ilayer> tag as suggested and it worked great. > > Please see the attached file for the updates to > dynlayer_ns4.js > >> Also, in _create for NS4, we could to test the >> position. If the >> position is relative, then the code would do a >> document.write() of the >> getOuterHTML > > I can't see why we should do a document.write() after > the page has been loaded. Relative layers should/can > only be created before the page loads, correct? Would > it be of any value to create relative laters after the > page loads? Good point ! You're right, except appending something at the end of the document, or add a child layer that would be inline, I don't see either ! Benoit > > -- > Raymond Irving > > > > > >> Benoit >> >> >>> Kevin >>> >>>> >>>> -- >>>> Raymond Irving >>>> >>>> >> __________________________________________________ >>>> Do you Yahoo!? >>>> Yahoo! Tax Center - File online, calculators, >> forms, and more >>>> http://tax.yahoo.com >>> <relative1.zip> > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online, calculators, forms, and more > http://tax.yahoo.com<dynlayer_ns4.zip> |
From: Raymond I. <xw...@ya...> - 2003-04-02 20:44:59
|
Please see below: --- Benoit Marchant <mar...@ma...> wrote: > > On Wednesday, April 2, 2003, at 09:37 AM, Kevin > wrote: > > > See comments below: > > > > "Raymond Irving" <xw...@ya...> wrote: > >> Hello, > >> > >> I've managed to create the setPosition(p) > function > >> which supports absolute, relative and fixed > positions. > > > > Yes this looks like what I had in mind. I'll need > time to > > work through it. > > > >> 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 file for the new changes. > >> > >> I can't get ns4 to work relative positions, could > >> someone take a look at the code to see if they > can > >> help? > > > > I had put together a raw example to show what I > meant > > as I thought Raymond and Benoit were talking only > about > > fixing an element in the window no matter what the > scroll > > bar is.. > > > > This example uses an <ilayer> to give the relative > container > > and the normal <layer> for the absolute positioned > children > > in ns4. Any ideas how this could this be used with > the new > > setPosition()? > > > The example is working great. What Raymond did > should work, as long as > getOuterHTML is updated for NS4 to output an iLayer > if the position is > relative. Many thanks for the feedback. I've implemented the <ilayer> tag as suggested and it worked great. Please see the attached file for the updates to dynlayer_ns4.js > Also, in _create for NS4, we could to test the > position. If the > position is relative, then the code would do a > document.write() of the > getOuterHTML I can't see why we should do a document.write() after the page has been loaded. Relative layers should/can only be created before the page loads, correct? Would it be of any value to create relative laters after the page loads? -- Raymond Irving > Benoit > > > > Kevin > > > >> > >> -- > >> Raymond Irving > >> > >> > __________________________________________________ > >> Do you Yahoo!? > >> Yahoo! Tax Center - File online, calculators, > forms, and more > >> http://tax.yahoo.com > > <relative1.zip> __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |
From: Benoit M. <mar...@ma...> - 2003-04-02 19:02:09
|
On Wednesday, April 2, 2003, at 09:37 AM, Kevin wrote: > See comments below: > > "Raymond Irving" <xw...@ya...> wrote: >> Hello, >> >> I've managed to create the setPosition(p) function >> which supports absolute, relative and fixed positions. > > Yes this looks like what I had in mind. I'll need time to > work through it. > >> 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 file for the new changes. >> >> I can't get ns4 to work relative positions, could >> someone take a look at the code to see if they can >> help? > > I had put together a raw example to show what I meant > as I thought Raymond and Benoit were talking only about > fixing an element in the window no matter what the scroll > bar is.. > > This example uses an <ilayer> to give the relative container > and the normal <layer> for the absolute positioned children > in ns4. Any ideas how this could this be used with the new > setPosition()? > The example is working great. What Raymond did should work, as long as getOuterHTML is updated for NS4 to output an iLayer if the position is relative. Also, in _create for NS4, we could to test the position. If the position is relative, then the code would do a document.write() of the getOuterHTML Benoit > Kevin > >> >> -- >> Raymond Irving >> >> __________________________________________________ >> Do you Yahoo!? >> Yahoo! Tax Center - File online, calculators, forms, and more >> http://tax.yahoo.com > <relative1.zip> |
From: Kevin <ke...@ke...> - 2003-04-02 17:38:18
|
See comments below: "Raymond Irving" <xw...@ya...> wrote: > Hello, > > I've managed to create the setPosition(p) function > which supports absolute, relative and fixed positions. Yes this looks like what I had in mind. I'll need time to work through it. > 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 file for the new changes. > > I can't get ns4 to work relative positions, could > someone take a look at the code to see if they can > help? I had put together a raw example to show what I meant as I thought Raymond and Benoit were talking only about fixing an element in the window no matter what the scroll bar is.. This example uses an <ilayer> to give the relative container and the normal <layer> for the absolute positioned children in ns4. Any ideas how this could this be used with the new setPosition()? - Kevin > > -- > Raymond Irving > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online, calculators, forms, and more > http://tax.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-04-02 04:05:36
|
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 file for the new changes. I can't get ns4 to work relative positions, could someone take a look at the code to see if they can help? -- Raymond Irving __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |
From: Benoit M. <mar...@ma...> - 2003-04-02 01:38:12
|
Hi I have a case where I have a onload on <IMG tag that call a setSize on a dynlayer. This avoid me to calculate the size of the image server side. As I'm trying to move this to use inline layers, when that <IMG loads, the onload does DynObject.all.myLayer.setSize(this.width,this.height), which means that the dynlayer object needs to exist to receive that call. Right now, I can have all the dynlayers creation code in the head. Does anyone see an issue with this ? They will still be added as child of the document in the onload. Thanks, Benoit |
From: Benoit M. <mar...@ma...> - 2003-04-01 23:34:48
|
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 a setPosition() function > that will allow a user to set the position of the > layer inside the document. Or we could simple cause > the DynLayer to not set left/top values if x/y is > null. > > Options: > --------- > 1) Create a setPosition() function I've needed to have DynLayers with a postion set to Fixed in dynapi2, so this would solve it. Netscape 4 doesn't support it, but we could simulate it by listening to onscroll to maintain the position. > 2) Cause DynLayer to not set left/top values if x/y is > null - results to a relative layer. If you were to call setPosition('relative'), then it wouldn't be needed to try to guess what top/left should be, whatever x/y would be. Benoit > > Which option is more suited for this kind of > functionality? > > > -- > Raymond Irving > > --- Kevin <ke...@ke...> wrote: >> 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: >> <body> >> <h1>Heading A</h1> >> Some html. >> <script> dynapi.document.insertChikl(a) </script> >> <h2>Heading B</h2> >> Some more html. >> <script> dynapi.document.insertChikl(b) </script> >> Lots more html. >> </body> >> >> Children a and b would be relative positioned >> containers with their own >> absolute positioned DynLayer children and so >> constructing a widget. >> Then these widgets/components would flow normally in >> the page. >> >> Is this possible. Or does everything have to be >> absolutely positioned on >> a page and so no real inline html? Any help with the >> correct usage of >> dynapi3x within an html page would be appreciated. >> >> - >> Kevin. >> >> >> >> >> > ------------------------------------------------------- >> This SF.net email is sponsored by: ValueWeb: >> Dedicated Hosting for just $79/mo with 500 GB of >> bandwidth! >> No other company gives more support or power for >> your dedicated server >> > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >> _______________________________________________ >> Dynapi-Dev mailing list >> Dyn...@li... >> > http://www.mail-archive.com/dyn...@li.../ > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online, calculators, forms, and more > http://platinum.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > |
From: Raymond I. <xw...@ya...> - 2003-04-01 23:08:43
|
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 layer inside the document. Or we could simple cause the DynLayer to not set left/top values if x/y is null. Options: --------- 1) Create a setPosition() function 2) Cause DynLayer to not set left/top values if x/y is null - results to a relative layer. Which option is more suited for this kind of functionality? -- Raymond Irving --- Kevin <ke...@ke...> wrote: > 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: > <body> > <h1>Heading A</h1> > Some html. > <script> dynapi.document.insertChikl(a) </script> > <h2>Heading B</h2> > Some more html. > <script> dynapi.document.insertChikl(b) </script> > Lots more html. > </body> > > Children a and b would be relative positioned > containers with their own > absolute positioned DynLayer children and so > constructing a widget. > Then these widgets/components would flow normally in > the page. > > Is this possible. Or does everything have to be > absolutely positioned on > a page and so no real inline html? Any help with the > correct usage of > dynapi3x within an html page would be appreciated. > > - > Kevin. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of > bandwidth! > No other company gives more support or power for > your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://platinum.yahoo.com |
From: Kevin <ke...@ke...> - 2003-04-01 22:46:23
|
"Benoit Marchant" <mar...@ma...> 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 with it. - Kevin > 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 something like: > > In Mozilla > > this.css.borderStyle: solid solid solid solid > > this.css.borderColor: #000000 #000000 #000000 > > this.css.borderWidth: 1px 1px 1px 1px > > In IE > > this.css.borderStyle: solid > > this.css.borderColor: #000000 > > this.css.borderWidth: 1px > > It works OK in IE. > > > > Any ideas? > > > > - > > Kevin. > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > No other company gives more support or power for your dedicated server > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://www.mail-archive.com/dyn...@li.../ > > > |
From: Benoit M. <mar...@ma...> - 2003-04-01 22:26:58
|
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 something like: > In Mozilla > this.css.borderStyle: solid solid solid solid > this.css.borderColor: #000000 #000000 #000000 > this.css.borderWidth: 1px 1px 1px 1px > In IE > this.css.borderStyle: solid > this.css.borderColor: #000000 > this.css.borderWidth: 1px > It works OK in IE. > > Any ideas? > > - > Kevin. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > |
From: Kevin <ke...@ke...> - 2003-04-01 22:09:53
|
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: #000000 #000000 #000000 this.css.borderWidth: 1px 1px 1px 1px In IE this.css.borderStyle: solid this.css.borderColor: #000000 this.css.borderWidth: 1px It works OK in IE. Any ideas? - Kevin. |
From: Kevin <ke...@ke...> - 2003-04-01 19:38:35
|
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: <body> <h1>Heading A</h1> Some html. <script> dynapi.document.insertChikl(a) </script> <h2>Heading B</h2> Some more html. <script> dynapi.document.insertChikl(b) </script> Lots more html. </body> Children a and b would be relative positioned containers with their own absolute positioned DynLayer children and so constructing a widget. Then these widgets/components would flow normally in the page. Is this possible. Or does everything have to be absolutely positioned on a page and so no real inline html? Any help with the correct usage of dynapi3x within an html page would be appreciated. - Kevin. |
From: Doug M. <do...@cr...> - 2003-04-01 17:57:16
|
Agree. :-) ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: <dyn...@li...> 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 <do...@cr...> wrote: > > And for my next trick.. > > > > :-) > > > > > > ----- Original Message ----- > > From: "Doug Melvin" <do...@cr...> > > To: <dyn...@li...> > > Sent: Tuesday, April 01, 2003 1:06 AM > > Subject: Re: [Dynapi-Dev] anchors: > > > > > > > Beauty!!! > > > > > > Check out the attached example boys and girls(?) > > > > > > ----- Original Message ----- > > > From: "Raymond Irving" <xw...@ya...> > > > To: <dyn...@li...> > > > Sent: Sunday, March 30, 2003 9:20 AM > > > Subject: Re: [Dynapi-Dev] anchors: > > > > > > > > > > > > > > I've uploaded the fix to the cvs. Please > > checkout the > > > > files to see if it's working ok. Thanks again > > for the > > > > example. > > > > > > > > -- > > > > Raymond Irving > > > > > > > > --- Doug Melvin <do...@cr...> > > wrote: > > > > > In creating the attached example I discovered > > the > > > > > following: > > > > > The width of the button is being changed, but > > the > > > > > anchor parameters are not > > > > > being utilized after the size change. > > > > > > > > > > When you click the link to change to width to > > 1 > > > > > pixel you will notice that > > > > > the button is set to a width of 1, but the > > button's > > > > > left position is not > > > > > changed.. > > > > > Meaning, that the parameter of right:0 is no > > longer > > > > > honored > > > > > > > > > > You can see the same when you set the height > > of the > > > > > layer, the layer's x > > > > > potion doe snot change, > > > > > therfore not honering the bottom:0 parameter. > > > > > > > > > > As the only parameters passed to setAnchor (in > > this > > > > > case) are > > > > > right:0,bottom:0 > > > > > one would dexpect that after changing the > > size, that > > > > > the layer would be > > > > > re-anchored to > > > > > right:0,bottom:0 > > > > > > > > > > On other words, the anchors work great, until > > you > > > > > change the size of the > > > > > layer, > > > > > at which point the anchors are no longer > > honored.. > > > > > > > > > > ----- Original Message ----- > > > > > From: "Raymond Irving" <xw...@ya...> > > > > > To: "Doug Melvin" > > <do...@cr...>; > > > > > <dyn...@li...> > > > > > Sent: Friday, March 28, 2003 7:13 AM > > > > > Subject: Re: [Dynapi-Dev] anchors: > > > > > > > > > > > > > > > > > > > > > > --- Doug Melvin <do...@cr...> > > > > > wrote: > > > > > > > a point.. it seems that you must define > > the size > > > > > of > > > > > > > a layer before you set it's anchor, > > > > > > > unless you intend to set all 4 dimension > > in the > > > > > > > anchor.. can this be fixed somehow? > > > > > > > > > > > > Please send me a working example of the > > above and > > > > > I'll > > > > > > take a look at it. > > > > > > > > > > > > > And once the anchor is set, even if you > > did not > > > > > > > define it left (for instance) you can not > > resize > > > > > > > thelayer.. > > > > > > > > > > > > > > It would be nice I I could anchor a layer > > to the > > > > > > > top+right of it's parent, but still be > > able to > > > > > > > change it's width or hight > > > > > > > afterwards. > > > > > > > > > > > > That should be possible with > > > > > > setAnchor({top:0,right:0}). You should then > > be > > > > > able to > > > > > > change the width and height without any > > problem at > > > > > > all. If you can't change the width/height > > after > > > > > > setting the anchor then send me a working > > example > > > > > so I > > > > > > can take a look at it > > > > > > > > > > > > -- > > > > > > Raymond Irving > > > > > > > > > > > > > > __________________________________________________ > > > > > > Do you Yahoo!? > > > > > > Yahoo! Platinum - Watch CBS' NCAA March > > Madness, > > > > > live on your desktop! > > > > > > http://platinum.yahoo.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.net email is sponsored by: > > > > > > The Definitive IT and Networking Event. Be > > There! > > > > > > NetWorld+Interop Las Vegas 2003 -- Register > > today! > > > > > > > > > > > > > > > > > > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > > > > > > > > _______________________________________________ > > > > > > Dynapi-Dev mailing list > > > > > > Dyn...@li... > > > > > > > > > > > > > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > > > > > > > > > ATTACHMENT part 2 application/x-compressed > > > > name=anchor-issue.zip > > > > > > > > > > > > > > > > > > __________________________________________________ > > > > Do you Yahoo!? > > > > Yahoo! Platinum - Watch CBS' NCAA March Madness, > > live on your desktop! > > > > http://platinum.yahoo.com > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: > > > > The Definitive IT and Networking Event. Be > > There! > > > > NetWorld+Interop Las Vegas 2003 -- Register > > today! > > > > > > > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > > > > _______________________________________________ > > > > Dynapi-Dev mailing list > > > > Dyn...@li... > > > > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: ValueWeb: > > > Dedicated Hosting for just $79/mo with 500 GB of > > bandwidth! > > > No other company gives more support or power for > > your dedicated server > > > === message truncated === > --------------------------------- > DynAPI - DynLayer > Create/Remove/Deletedynapi.library.setPath('./src/');dynapi.library.include( 'dynapi.api'); > var parentLayer = dynapi.document.addChild(new > DynLayer(null,10,10,50,50,'#999999')); var greenLayer > = parentLayer.addChild(new > DynLayer(null,0,0,8,8,'green')); > greenLayer.setAnchor({right:0,bottom:0}); var redLayer > = parentLayer.addChild(new > DynLayer(null,0,0,8,8,'red')); > redLayer.setAnchor({top:0,left:0}); var blueLayer = > parentLayer.addChild(new > DynLayer(null,0,0,8,8,'blue')); > blueLayer.setAnchor({top:0,right:0}); var yellowLayer > = parentLayer.addChild(new > DynLayer(null,0,0,8,8,'yellow')); > yellowLayer.setAnchor({bottom:0,left:0});dynapi.document.addChild(parentLaye r); > > Green Layer > set the green layer's width to 16 > set the green layer's width to 8 > set the green layer's width to 1 > set the green layer's height to 16 > set the green layer's height to 8 > set the green layer's height to 1 Red Layer > set the red layer's width to 16 > set the red layer's width to 8 > set the red layer's width to 1 > set the red layer's height to 16 > set the red layer's height to 8 > set the red layer's height to 1 Blue > Layer > set the blue layer's width to 16 > set the blue layer's width to 8 > set the blue layer's width to 1 > set the blue layer's height to 16 > set the blue layer's height to 8 > set the blue layer's height to 1 Yellow Layer > > set the yellow layer's width to 16 > set the yellow layer's width to 8 > set the yellow layer's width to 1 > set the yellow layer's height to 16 > set the yellow layer's height to 8 > set the yellow layer's height to 1 > > > > > > > dynapi.document.insertAllChildren(); > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online, calculators, forms, and more > http://platinum.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > |
From: Doug M. <do...@cr...> - 2003-04-01 17:57:01
|
Very cool! ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: <dyn...@li...> 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 <do...@cr...> 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 amount of code the user need > > in order ot use the scrollbar, > > I added the library calls to load the dynButton IN > > THE SCROLLBAR.JS FILE (DOH!) > > My question is this.. can there be any bad side > > effects (as far as we know) to > > accidently loading the same library twice? Is there > > a check when loading or defining a libary? > > If not then I propose to make this part of the > > widget standard.. > > > > Just load your widget's dependancies in your widgets > > .js file before you define the object.. > > Well, one of the things that I like about 3.0 is the > library class. It really makes things much easier. The > dependency feature can be used as shown below: > > this.add('dynapi.gui.DynButton','dynbutton.js','DynLayer'); > this.add('dynapi.gui.ScrollBar','scrollbar.js','DynButton'); > > With the above DynButton will be automatically loaded > whenever ScrollBar is included: > > dynapi.include('ScrollBar'); > > No need to include DynButton as ScrollBar is dependent > on DynButton. Now that's what I call cool! > > -- > Raymond Irving > > > > > > > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online, calculators, forms, and more > http://platinum.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > |