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: Dan W. <da...@wi...> - 2003-05-29 21:22:37
|
On Tue, 2003-05-27 at 22:56, Raymond Irving wrote: > Hi, > > I've modified the mouse_ns4.js file to correct some > bubbling problems. Please see the attached file and > test to see if it break anything > > Secondly does Phoenix 0.4 support image rollovers? It should, its based on Gecko > Is > this a bug? Probably, do they have their own Bugzilla? if so, is that a listed bug? > > -- > Raymond Irving > > > __________________________________ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > http://calendar.yahoo.com -- Dan Willemsen <da...@wi...> |
From: Raymond I. <xw...@ya...> - 2003-05-28 16:53:24
|
Hi All, With the Beta 1 of DynAPI 3.0 soon to be release I would like to know if there is any one on this list who's familiar with the dynapi web files on sourceforge (dynapi.sourceforge.net)? I can't seem to get my user account to work. Any of the admins still around? -- Raymond Irving __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-05-28 03:56:27
|
Hi, I've modified the mouse_ns4.js file to correct some bubbling problems. Please see the attached file and test to see if it break anything Secondly does Phoenix 0.4 support image rollovers? Is this a bug? -- Raymond Irving __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com |
From: Dan W. <da...@wi...> - 2003-05-27 21:47:40
|
On Tue, 2003-05-27 at 07:30, Raymond Irving wrote: > ... In addition to the HTMLComponents mentioned in my > previous email here are a bunch of other components > that we could implement providing that the group is in > agreement with these new components. These components > will NOT replace the existing rich gui components that > DynAPI users are accustom to, but instead will be used > to complement them. > > HTMLTabStrip > HTMLProgressBar > HTMLMaraquee > HTMLHoverButton > HTMLDatePicker > HTMLColorPicker > HTMLMenu > HTMLToolBar > HTMLSpinButton > HTMLIcon > HTMLImageRotator > HTMLTreeView > HTMLCounter > HTMLClock > > In total that's about 25 easy to use components to > begin with! And the list will keep on growing... > > Join in the fun and let's create some easy-to-use, > cross-browser and light-weight HTMLComponents. > > > PS. Because HCs can render themselves to HTML and does > not require DynLayers, it might be possible for HCs to > be supported in all browsers thus reaching the browser > "X" platform - "Write once run in any browser" - Just > a thought! Not quite...we still need javascript support... > > > -- > Raymond Irving > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ -- Dan Willemsen <da...@wi...> |
From: Raymond I. <xw...@ya...> - 2003-05-27 12:30:19
|
... In addition to the HTMLComponents mentioned in my previous email here are a bunch of other components that we could implement providing that the group is in agreement with these new components. These components will NOT replace the existing rich gui components that DynAPI users are accustom to, but instead will be used to complement them. HTMLTabStrip HTMLProgressBar HTMLMaraquee HTMLHoverButton HTMLDatePicker HTMLColorPicker HTMLMenu HTMLToolBar HTMLSpinButton HTMLIcon HTMLImageRotator HTMLTreeView HTMLCounter HTMLClock In total that's about 25 easy to use components to begin with! And the list will keep on growing... Join in the fun and let's create some easy-to-use, cross-browser and light-weight HTMLComponents. PS. Because HCs can render themselves to HTML and does not require DynLayers, it might be possible for HCs to be supported in all browsers thus reaching the browser "X" platform - "Write once run in any browser" - Just a thought! -- Raymond Irving __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-05-27 10:55:26
|
Hi Cristian, This sounds great! Glad to hear that you've started porting SODA-RPC to PHP. This is very good news. I'm the one who started the SODA-RPC library. You can contact me at my xwisdom address above. Best regards, -- Raymond Irving --- Cristian Grigoriu <cri...@pr...> wrote: > Hello everybody, > > I'd like to contact the developer of SODA-RPC. I > have begun porting the > ASP (JS) scripts to PHP. > > Thank you, > > Grig > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your > application fit in a > relational database is painful, don't do it! Check > out ObjectStore. > Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Cristian G. <cri...@pr...> - 2003-05-27 08:09:56
|
Hello everybody, I'd like to contact the developer of SODA-RPC. I have begun porting the ASP (JS) scripts to PHP. Thank you, Grig |
From: Raymond I. <xw...@ya...> - 2003-05-27 00:14:02
|
Hello Everyone, With the release of this version of the TemplatManager I've managed to create a new type of DynAPI components called HTMLComponents. What are HTMLComponents (HC)? -------------------------- These are insertable DynAPI components that renders to pure HTML codes. Most HTMLComponents are design-time components, meaning you can only change their properties before they are inserted into the document or template. If you change the property of a design-time only component after it has been inserted into the document or template, you'll have to re-insert the component (or regenerate the template) for the new changes to be made visible. HCs were specifically designed to work with TemplateManager but can also be used to generate HMTL for other DynAPI widgets. See an example here (currently works best in IE): http://www24.brinkster.com/dyntools/next/examples/templatemanager.html If you're having problems with the site then have a look at the attached screenshot. You might have to refesh your browser to download the modified scripts. It would be cool if others can join in and help create some HTMLComponents as they're very easy to create. Here's a list of some that I've thought of. The one with + before them I'm currently working on: + HTMLHyperLink, + HTMLRollover, + HTMLCalendar, + HTMLContainer HTMLClock HTMLGraph HTMLButton HTMLTextBox - multiline,password property HTMLRadioButton HTMLCheckBox HTMLListBox HTMLDropDown HTMLFile HTMLGrid Can you think of others? Any comments, suggestions. Good idea or bad idea? -- Raymond Irving __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-05-23 21:37:42
|
--- Kevin <ke...@ke...> wrote: > Hi, > > The file images/ship360.gif doesn't appear to be in > CVS. You're correct! The file is missing! I thought I had uploaded this file before. Anyway I've uploaded it to the CVS so you can check it out to see if it's working. You can also use the attached file if necessary. -- Raymond Irving > - > Kevin > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your > application fit in a > relational database is painful, don't do it! Check > out ObjectStore. > Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-05-23 21:27:07
|
Please see below: --- Kevin <ke...@ke...> wrote: > See below. > > "Raymond Irving" <xw...@ya...> wrote: > > > I've been having fun with the template manager > (tm) so > > far. I'm now able to switch between templates > while > > still using the existing layers > > You've lost me now. I understood the previous 'two > lyrs in > a table example' and thought it was very neat. > > One idea is that once the template html is set. The > actual > template setHTML() can be overloaded to provide a > similar > expansion of variables. Yes, the version that will allow you to call setHTML() to change the template. > Useful for getImage when we don't need a DynLayer > child. > > var h='<table><tr><td>[@img1]</td<td>[@img2]</td>... > var f=dynapi.functions; > var img1=f.getImage('images/img1.jpg',10,10); > var img2=f.getImage('images/img2.jpg',10,10); > > var tp = new Template(h,100,100); > tp.setHTML(img1.getHTML(),'img1'); > tp.setHTML(img2.getHTML(),'img2'); > > or something like that. Cool. The next preview release will allow you to add images to the template one of two ways: tp.addChild(img1); or tp.setField('img1',img1.getHTML()); If the first option becomes to difficult then I'll use the latter. > > for exmaple: > > > > tp.setHTML('Your name is: [@lyr]') > > tp.addChild(new DynLayer('Mary Jones'),'lyr'); > > .... > > .... > > tp.setHTML('Click here to access [@lyr] profile') > > // displays Click here to access Mary Jones > profile > > Could you show the above as a complete example? Yes, I'll some more examples of the new features > > Users will also be able to do: > > > > tp.setField('lyr','text') > > row=tp.getFieldBlock('rows') > > row.setField('c1','2030'); > > row.setField('c2','Apple'); > > Could you show the above as a complete example? Yes, I'll some more examples of the above features > Have I missed a dynapi extention that defines > setField() > and getFieldBlock()? These will be part of the Template() object > > The attached Text2Var converter will help you > convert > > your html templates to javascript > > Yes this was a nice tool. Glad you like it. I think I will be using template manager (tm) for most of if not all my dynapi apps. -- Raymond Irving > - > Kevin > > > > > -- > > Raymond Irving > > > > __________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo. > > http://search.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your > application fit in a > relational database is painful, don't do it! Check > out ObjectStore. > Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Kevin <ke...@ke...> - 2003-05-23 18:58:20
|
Hi, The file images/ship360.gif doesn't appear to be in CVS. - Kevin |
From: Kevin <ke...@ke...> - 2003-05-23 17:22:48
|
See below. "Raymond Irving" <xw...@ya...> wrote: > I've been having fun with the template manager (tm) so > far. I'm now able to switch between templates while > still using the existing layers You've lost me now. I understood the previous 'two lyrs in a table example' and thought it was very neat. One idea is that once the template html is set. The actual template setHTML() can be overloaded to provide a similar expansion of variables. Useful for getImage when we don't need a DynLayer child. var h='<table><tr><td>[@img1]</td<td>[@img2]</td>... var f=dynapi.functions; var img1=f.getImage('images/img1.jpg',10,10); var img2=f.getImage('images/img2.jpg',10,10); var tp = new Template(h,100,100); tp.setHTML(img1.getHTML(),'img1'); tp.setHTML(img2.getHTML(),'img2'); or something like that. > for exmaple: > > tp.setHTML('Your name is: [@lyr]') > tp.addChild(new DynLayer('Mary Jones'),'lyr'); > .... > .... > tp.setHTML('Click here to access [@lyr] profile') > // displays Click here to access Mary Jones profile Could you show the above as a complete example? > Users will also be able to do: > > tp.setField('lyr','text') > row=tp.getFieldBlock('rows') > row.setField('c1','2030'); > row.setField('c2','Apple'); Could you show the above as a complete example? Have I missed a dynapi extention that defines setField() and getFieldBlock()? > The attached Text2Var converter will help you convert > your html templates to javascript Yes this was a nice tool. - Kevin > > -- > Raymond Irving > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-05-22 17:04:48
|
I've been having fun with the template manager (tm) so far. I'm now able to switch between templates while still using the existing layers for exmaple: tp.setHTML('Your name is: [@lyr]') tp.addChild(new DynLayer('Mary Jones'),'lyr'); .... .... tp.setHTML('Click here to access [@lyr] profile') // displays Click here to access Mary Jones profile Users will also be able to do: tp.setField('lyr','text') row=tp.getFieldBlock('rows') row.setField('c1','2030'); row.setField('c2','Apple'); The attached Text2Var converter will help you convert your html templates to javascript -- Raymond Irving __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-05-22 04:19:32
|
Hello Everyone, Here's a preview of a new library called Template Manager that I'm working on. It's designed to make it easier for developers to combine DynAPI widgets and layers with HTML templates. http://www24.brinkster.com/dyntools/next/examples/templatemanaer.html Any comments, ideas? -- Raymond Irving __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-05-20 13:26:33
|
Hello Everyone, I've added a logos module to the CVS. You can now checkout/update all the dynapi logos from CVS. -- Raymond Irving __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Ramesh P. <ra...@in...> - 2003-05-20 08:47:05
|
please see below: Once upon a time not very long ago, Raymond Irving wrote: >See below: > >--- Ramesh Pallikara <ra...@in...> > > >><html> >><head> >><script language="JavaScript" >>src="../src/dynapi.js"></script> >><script language="Javascript"> >>dynapi.library.setPath('../src/'); >>dynapi.library.include('dynapi.api'); >></script> >></head> >><body> >><script> >> >> > >>From my test it would seems that you have to wait >until the page is fully loaded before you can get the >width/height for the document in IE, correct? (should >also be safe fo all browsers). > >dynapi.onLoad(function(){ > >alert(dynapi.document.getWidth()+","+dynapi.document.getHeight()); >}); > >-- >Raymond Irving > Ah, stupid of me, every example illustrates this and i still ask such a stupid question :-[ thanx for your patience, best regardz, ramesh palikara > > > >></script> >></body> >></html> >> >>nothing much was just testing it on various >>browsers, when i came across >>this. >> >>is there an event fired after the body gets loaded >>??? >> >>best regardz >>ramesh pallikara >> >> >> >>>-- >>>Raymond Irving >>> >>>--- Ramesh Pallikara <ra...@in...> >>>wrote: >>> >>> >>> >>> >>>>hi, >>>> >>>>i'm trying to get the client width and height >>>> >>>> >>using >> >> >>>>the following method >>>> >>>>dynapi.document.getWidth() >>>> >>>>works fine in ns and mozilla, but on IE shows the >>>>following error >>>> >>>><warning message> >>>> >>>>"this.elm.clientWidth" is not an object >>>> >>>><warning message> >>>> >>>>guess it's coming from dyndocument.js >>>>any solutions ??????? >>>> >>>>best regardz, >>>>ramesh pallikara >>>> -- QOTD: Never criticise a man until you've walked a mile in his shoes. Then you will be a mile away from him, and you will have his shoes. |
From: Raymond I. <xw...@ya...> - 2003-05-19 19:41:20
|
Please see below: --- Kevin <ke...@ke...> wrote: > See below. > > "Raymond Irving" <xw...@ya...> wrote: > > > Hi Kevin, > > > > A few things to note about the TabManager updates: > > > > 1) The changes you've made to the DynKeyEvent does > not > > work with the existing DynKeyEvent example. any > ideas? > > No. I'd rather you put back the original example > that I fixed > if that's ok. File attached. Thanks, it now works. > > 2) Do these changes support keyevent bubbling? > > As far as setting the defaultValue=false in your own > handler > will stop bubble. > > > 3) I modified the _destroy() changes to ready as > > follows: > > > > note: dyndocument.destroyAllChildren will call > > ._destroy() function on the children which will > then > > call _destroyAllChildren() > > > > p._destroy = function() { > > this._destroyAllChildren(); // note change here > > this.removeAllEventListeners(); > > if (this.elm) this._remove(); > > DynObject.all[this.id] = null; > > this.children = null; > > this.frame = null; > > > > this.bgImage = null; > > this.bgColor = null; > > this.html = null; > > this.x = null; > > this.y = null; > > this.w = null; > > this.h = null; > > this.z = null; > > this.doc = null; > > this.css = null; > > this._dyndoc = null; > > this.parent = null; > > }; > > p._destroyAllChildren = function() { > > for (var i=0;i<this.children.length;i++) { > > this.children[i]._destroy(); > > //delete this.children[i]; // - is this necessary? > > seeing that children will be set to [] > > Yes. Each children[i]=new ... is memory that > needs to be freed/deleted. > children=[] just clears an array of pointers to > the memory. Ok > } > > this.children = []; > > }; > > > > > > Shouldn't ._destroyAllChildren() be called > > .destroyAllChildren()? So we can call > > lyr.destroyAllChildren(); > > > > Agree with the above (#3)? > > Is it different to my fix? If so it will need > testing > again. I agree if it works on all browsers. Ok. The issue was with _destroy(). I thought it would be good to call _destroyAllChildren() from a _destroy(), but think I'll just use the solution you uploaded. It works fine. -- Raymond Irving > - > Kevin > > > > > -- > > Raymond Irving > > > > ATTACHMENT part 2 application/x-zip-compressed name=dynapi.api.ext.keyevents.zip __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Kevin <ke...@ke...> - 2003-05-19 19:01:52
|
See below. "Raymond Irving" <xw...@ya...> wrote: > Hi Kevin, > > A few things to note about the TabManager updates: > > 1) The changes you've made to the DynKeyEvent does not > work with the existing DynKeyEvent example. any ideas? No. I'd rather you put back the original example that I fixed if that's ok. File attached. > 2) Do these changes support keyevent bubbling? As far as setting the defaultValue=false in your own handler will stop bubble. > 3) I modified the _destroy() changes to ready as > follows: > > note: dyndocument.destroyAllChildren will call > ._destroy() function on the children which will then > call _destroyAllChildren() > > p._destroy = function() { > this._destroyAllChildren(); // note change here > this.removeAllEventListeners(); > if (this.elm) this._remove(); > DynObject.all[this.id] = null; > this.children = null; > this.frame = null; > > this.bgImage = null; > this.bgColor = null; > this.html = null; > this.x = null; > this.y = null; > this.w = null; > this.h = null; > this.z = null; > this.doc = null; > this.css = null; > this._dyndoc = null; > this.parent = null; > }; > p._destroyAllChildren = function() { > for (var i=0;i<this.children.length;i++) { > this.children[i]._destroy(); > //delete this.children[i]; // - is this necessary? > seeing that children will be set to [] Yes. Each children[i]=new ... is memory that needs to be freed/deleted. children=[] just clears an array of pointers to the memory. > } > this.children = []; > }; > > > Shouldn't ._destroyAllChildren() be called > .destroyAllChildren()? So we can call > lyr.destroyAllChildren(); > > Agree with the above (#3)? Is it different to my fix? If so it will need testing again. I agree if it works on all browsers. - Kevin > > -- > Raymond Irving > |
From: Leif W <war...@us...> - 2003-05-19 18:55:20
|
Got my headphones on, some tunes pumping, original paper & pen sketch of the snap model, and the updated CVS and snapx class. I'll see what I can do, and have something to done soon (day or two). Leif ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: "DynAPI-Dev" <dyn...@li...> Sent: Sunday, May 18, 2003 8:42 PM Subject: [Dynapi-Dev] Snap Effects (SnapX) Library > Hello, > > I've done some work on the snap class by separating it > from the motion effects (MotionX) class and calling it > Snap Effects (SnapX). I've tried to create a sticky > type effect on outer snaps by using the _snapLockX > properties. I not as yet familiar with the various > inner outer/bith snapping technique so only outer > snaps are sticky > > Here an online example: > http://www24.brinkster.com/dyntools/next/examples/dynapi.fx.snapx.html > > Leif can you look at the attached code and see if the > _snapLockY/X solution makes any sense? > > > Any other ideas? > > > -- > Raymond Irving > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com |
From: Leif W <war...@us...> - 2003-05-19 18:25:49
|
Hello, I just did this yesterday so it's fresh in memory. See the DynAPI developer site for anonymous (read-only) access: http://sourceforge.net/cvs/?group_id=5757 The program to use is WinCVS, look under Admin -> Login... -> General, and enter the settings. Login, then go to Create -> Checkout Module..., and enter dynapi3x as the module name, and select a local folder in which to put everything. Leif ----- Original Message ----- From: "António Silva" <as...@we...> To: <Dyn...@li...> Sent: Monday, May 19, 2003 2:22 PM Subject: [Dynapi-Dev] Access to DynAPI do CVS > Hi everyone, > > I'd like to ask what's the best way do access the DynAPI CVS from Windows? > > Thanks, > > Asilva > > > > ------------------------------------------------------- > This SF.net email is sponsored by: If flattening out C++ or Java > code to make your application fit in a relational database is painful, > don't do it! Check out ObjectStore. Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > |
From: <as...@we...> - 2003-05-19 18:14:44
|
Hi everyone, I'd like to ask what's the best way do access the DynAPI CVS from Windows? Thanks, Asilva |
From: Raymond I. <xw...@ya...> - 2003-05-19 18:04:57
|
Well, parsing the string would require us to use split() functions which is another performance hit. IMO I don't see anything wrong with the current agruments being past to setBorder2 . If it can by simplified then that's also ok with me. I personally use inner borders for some new components that I'm working on. But if this is not the way to go then I would suggest that we discard the code in setBorder() and use the one in setBorder2(). In this way we will only have one setBorder() function. Agree? -- Raymond Irving --- Kevin <ke...@ke...> wrote: > > See below. > > "Raymond Irving" <xw...@ya...> wrote: > > > Hi, > > > > I've looked at the setBorder(objectparam) design > but > > because we have to always create a object {} as > for > > the inputed params that method will be slower than > the > > setBorder(b,c) or setBorder2(b,c) methods. I would > > like to suggest that we do the following: > > Perhaps we need to rethink the interface. One idea > with strings: > > // like css border-width:1px 4px 4px 1px; > var widths="1 4 4 1" > > // like css this defaults bottom=top left=right etc. > var imgSides="imgtop.png imgright.png" > > // have similar default order for corners > var imgCorners="imgtopright.gif imgbottomright.gif > imgbottomleft.gif imgtopleft.gif" > > var content1=parentwidget.addChild(new > DynLayer(...)) > > // widths gives all corner/side/image/anchor data > var frame1=new > Frame(widths,null,null,imgSides,imgCorners); > var container1=content1.addBorderFrame(frame1) // ? > or whatever method name > > > setInnerBorder(b,c) - same as setBorder() - only > > colors will be supported > > // perhaps instead: > var widths="2 1" // ie. 2 1 2 1 > var colSides="red green #eeeeee blue" > var container1=content1.addBorder(widths,colSides) > > > setOuterBorder(b,c) - uses kevin's new > setBorder2() > > design with images > > // change to: > var frame1=new > Frame(widths,colSides,colCorners,imgSides,imgCorners); > // or 4 params > var frame1=new > Frame(widths,colSides,imgSides,imgCorners); > > Maybe just 4 params? Would we want a differnent > corner color to show > through a transparent gif? Well this is my thinking > so far. A bit more to > do but I tend to agree with Benoit's Frame instance > idea. Now the user > would have to know they are dealing with a different > container object and > this removes my naff copy to a new content layer :) > Also like Raymond > mentioned no performance problem with a big > dictionary object - just 4 > or 5 strings to parse. And no "bottom-right ..." > names because of the > agreed css+ order. I used "ne ... nw" etc.. to save > a lot of typing. > > > what do you think about calling the functions > > setInnerBorder() and setOuterBorder()? Please give > > some feedback on these as soon as posible as I'm > > getting ready to send some changes to the CVS > > IMO we shouldn't have inner borders as they clip the > content. > Any comment about the above re-design? > > - > Kevin > > > -- > > Raymond Irving > > > > __________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo. > > http://search.yahoo.com > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: If flattening > out C++ or Java > > code to make your application fit in a relational > database is painful, > > don't do it! Check out ObjectStore. Now part of > Progress Software. > > http://www.objectstore.net/sourceforge > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > ------------------------------------------------------- > This SF.net email is sponsored by: If flattening out > C++ or Java > code to make your application fit in a relational > database is painful, > don't do it! Check out ObjectStore. Now part of > Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Kevin <ke...@ke...> - 2003-05-19 17:28:46
|
See below. "Raymond Irving" <xw...@ya...> wrote: > Hi, > > I've looked at the setBorder(objectparam) design but > because we have to always create a object {} as for > the inputed params that method will be slower than the > setBorder(b,c) or setBorder2(b,c) methods. I would > like to suggest that we do the following: Perhaps we need to rethink the interface. One idea with strings: // like css border-width:1px 4px 4px 1px; var widths="1 4 4 1" // like css this defaults bottom=top left=right etc. var imgSides="imgtop.png imgright.png" // have similar default order for corners var imgCorners="imgtopright.gif imgbottomright.gif imgbottomleft.gif imgtopleft.gif" var content1=parentwidget.addChild(new DynLayer(...)) // widths gives all corner/side/image/anchor data var frame1=new Frame(widths,null,null,imgSides,imgCorners); var container1=content1.addBorderFrame(frame1) // ? or whatever method name > setInnerBorder(b,c) - same as setBorder() - only > colors will be supported // perhaps instead: var widths="2 1" // ie. 2 1 2 1 var colSides="red green #eeeeee blue" var container1=content1.addBorder(widths,colSides) > setOuterBorder(b,c) - uses kevin's new setBorder2() > design with images // change to: var frame1=new Frame(widths,colSides,colCorners,imgSides,imgCorners); // or 4 params var frame1=new Frame(widths,colSides,imgSides,imgCorners); Maybe just 4 params? Would we want a differnent corner color to show through a transparent gif? Well this is my thinking so far. A bit more to do but I tend to agree with Benoit's Frame instance idea. Now the user would have to know they are dealing with a different container object and this removes my naff copy to a new content layer :) Also like Raymond mentioned no performance problem with a big dictionary object - just 4 or 5 strings to parse. And no "bottom-right ..." names because of the agreed css+ order. I used "ne ... nw" etc.. to save a lot of typing. > what do you think about calling the functions > setInnerBorder() and setOuterBorder()? Please give > some feedback on these as soon as posible as I'm > getting ready to send some changes to the CVS IMO we shouldn't have inner borders as they clip the content. Any comment about the above re-design? - Kevin > -- > Raymond Irving > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: If flattening out C++ or Java > code to make your application fit in a relational database is painful, > don't do it! Check out ObjectStore. Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |
From: Raymond I. <xw...@ya...> - 2003-05-19 16:06:05
|
See below: --- Ramesh Pallikara <ra...@in...> > <html> > <head> > <script language="JavaScript" > src="../src/dynapi.js"></script> > <script language="Javascript"> > dynapi.library.setPath('../src/'); > dynapi.library.include('dynapi.api'); > </script> > </head> > <body> > <script> From my test it would seems that you have to wait until the page is fully loaded before you can get the width/height for the document in IE, correct? (should also be safe fo all browsers). dynapi.onLoad(function(){ alert(dynapi.document.getWidth()+","+dynapi.document.getHeight()); }); -- Raymond Irving > </script> > </body> > </html> > > nothing much was just testing it on various > browsers, when i came across > this. > > is there an event fired after the body gets loaded > ??? > > best regardz > ramesh pallikara > > >-- > >Raymond Irving > > > >--- Ramesh Pallikara <ra...@in...> > >wrote: > > > > > >>hi, > >> > >>i'm trying to get the client width and height > using > >>the following method > >> > >>dynapi.document.getWidth() > >> > >>works fine in ns and mozilla, but on IE shows the > >>following error > >> > >><warning message> > >> > >>"this.elm.clientWidth" is not an object > >> > >><warning message> > >> > >>guess it's coming from dyndocument.js > >>any solutions ??????? > >> > >>best 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: If flattening > out > >>C++ or Java > >>code to make your application fit in a relational > >>database is painful, > >>don't do it! Check out ObjectStore. Now part of > >>Progress Software. > >>http://www.objectstore.net/sourceforge > >>_______________________________________________ > >>Dynapi-Dev mailing list > >>Dyn...@li... > >> > >> > >> > >http://www.mail-archive.com/dyn...@li.../ > > > > > >__________________________________ > >Do you Yahoo!? > >The New Yahoo! Search - Faster. Easier. Bingo. > >http://search.yahoo.com > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: If flattening > out C++ or Java > >code to make your application fit in a relational > database is painful, > >don't do it! Check out ObjectStore. Now part of > Progress Software. > >http://www.objectstore.net/sourceforge > >_______________________________________________ > >Dynapi-Dev mailing list > >Dyn...@li... > >http://www.mail-archive.com/dyn...@li.../ > > > > > > > -- > > QOTD: > > Never criticise a man until you've walked a mile > in his shoes. > > Then you will be a mile away from him, and you > will have his shoes. > > __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Ramesh P. <ra...@in...> - 2003-05-19 13:43:41
|
Once upon a time not very long ago, Raymond Irving wrote: >Firstly do you have the lastest version from CVS? > nope, :-( unfortunately, i'm behind a firewall, so i'm still testing on doug's alpha build. > >Could you please provide a working example? > <html> <head> <script language="JavaScript" src="../src/dynapi.js"></script> <script language="Javascript"> dynapi.library.setPath('../src/'); dynapi.library.include('dynapi.api'); </script> </head> <body> <script> alert(dynapi.document.getWidth()+","+dynapi.document.getHeight()); </script> </body> </html> nothing much was just testing it on various browsers, when i came across this. is there an event fired after the body gets loaded ??? best regardz ramesh pallikara >-- >Raymond Irving > >--- Ramesh Pallikara <ra...@in...> >wrote: > > >>hi, >> >>i'm trying to get the client width and height using >>the following method >> >>dynapi.document.getWidth() >> >>works fine in ns and mozilla, but on IE shows the >>following error >> >><warning message> >> >>"this.elm.clientWidth" is not an object >> >><warning message> >> >>guess it's coming from dyndocument.js >>any solutions ??????? >> >>best 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: If flattening out >>C++ or Java >>code to make your application fit in a relational >>database is painful, >>don't do it! Check out ObjectStore. Now part of >>Progress Software. >>http://www.objectstore.net/sourceforge >>_______________________________________________ >>Dynapi-Dev mailing list >>Dyn...@li... >> >> >> >http://www.mail-archive.com/dyn...@li.../ > > >__________________________________ >Do you Yahoo!? >The New Yahoo! Search - Faster. Easier. Bingo. >http://search.yahoo.com > > >------------------------------------------------------- >This SF.net email is sponsored by: If flattening out C++ or Java >code to make your application fit in a relational database is painful, >don't do it! Check out ObjectStore. Now part of Progress Software. >http://www.objectstore.net/sourceforge >_______________________________________________ >Dynapi-Dev mailing list >Dyn...@li... >http://www.mail-archive.com/dyn...@li.../ > > > -- QOTD: Never criticise a man until you've walked a mile in his shoes. Then you will be a mile away from him, and you will have his shoes. |