You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(83) |
Nov
(319) |
Dec
(441) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(617) |
Feb
(784) |
Mar
(426) |
Apr
(363) |
May
(489) |
Jun
(396) |
Jul
(405) |
Aug
(146) |
Sep
(97) |
Oct
(146) |
Nov
(348) |
Dec
(99) |
2002 |
Jan
(69) |
Feb
(92) |
Mar
(58) |
Apr
(33) |
May
(29) |
Jun
(45) |
Jul
(72) |
Aug
(71) |
Sep
(47) |
Oct
(19) |
Nov
(48) |
Dec
(55) |
2003 |
Jan
(23) |
Feb
(73) |
Mar
(42) |
Apr
(52) |
May
(64) |
Jun
(155) |
Jul
(169) |
Aug
(103) |
Sep
(113) |
Oct
(118) |
Nov
(46) |
Dec
(30) |
2004 |
Jan
(19) |
Feb
(24) |
Mar
(40) |
Apr
(13) |
May
(35) |
Jun
(1) |
Jul
(23) |
Aug
(3) |
Sep
(31) |
Oct
(31) |
Nov
(26) |
Dec
|
2005 |
Jan
(5) |
Feb
(4) |
Mar
(3) |
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
(23) |
Sep
(9) |
Oct
(5) |
Nov
(2) |
Dec
(1) |
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Andrew G. <an...@zo...> - 2003-10-07 00:45:18
|
Hi Daniel, Daniel Tiru wrote: > Hi Andrew! > > I have looked throught your code and i will make the changes to the > stacker, and aswell the ";" to the window :) > > However i dont really understand the change you did to the window. Do > you want the content layer to set the size of the window? Exactly. Currently the height of the window is fixed to the number of pixels you specify when you create it. I want to create a PanelBar, set its content to an arbitrary amount of text, and have the window automatically size itself to fit the text. My main issue with PanelBar as it stands is that it does not allow subclassing because its constructor fails when invoked with no arguments. I've attached an example of what I wanted, along with a slightly modified version of panelbar.js. I hope you'll be able to see what I'm talking about. > Or am i out of > the game? No way :) > > Regards > Daniel > regards, Andrew |
From: Bruce T. <blu...@ya...> - 2003-10-06 23:47:05
|
I think the snap shot scripts are out of date, or a tag has not been applied or something. Many of the new examples are not in the snap shot, but I see them from the web sites cvs browser. Yanglong Zhu <yz...@ou...> wrote: Leif W wrote: If you are using DynAPI 3, you might want to look at the ViewPane example.dynapi3x/examples/dynapi.gui.viewpane.html I can't find the viewPane (case insensitive) or "view pane" in the whole package. That is: Revised 2003.05.29 Latest version: 3.0.0 (Beta 1) Please read 3.0.0 ChangeLog dynapi.sourceforge.net Now, where can I get the package which contains viewpane? If you're using the older DynAPI 2, try looking at the ScrollPane example.dynapi/examples/dynapi.gui.scrollpane.htmlLeif----- Original Message ----- From: "antonio" <an...@co...>To: <dyn...@li...>Sent: Sunday, October 05, 2003 12:37 PMSubject: [Dynapi-Help] scrollbar inside layer hi all,I have a layer where I put some html.How can I put a scrollbar inside my dynlayer to scroll the contents?really thanksantonio-------------------------------------------------------This sf.net email is sponsored by:ThinkGeekWelcome to geek heaven.http://thinkgeek.com/sf_______________________________________________Dynapi-Help mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/dynapi-help -------------------------------------------------------This sf.net email is sponsored by:ThinkGeekWelcome to geek heaven.http://thinkgeek.com/sf_______________________________________________Dynapi-Help mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/dynapi-help www.bluewolverine.com --------------------------------- Do you Yahoo!? The New Yahoo! Shopping - with improved product search |
From: Yanglong Z. <yz...@ou...> - 2003-10-06 23:39:20
|
Leif W wrote: >If you are using DynAPI 3, you might want to look at the ViewPane example. > >dynapi3x/examples/dynapi.gui.viewpane.html > > > I can't find the viewPane (case insensitive) or "view pane" in the whole package. That is: Revised /2003.05.29/ Latest version: 3.0.0 (Beta 1) Please read 3.0.0 ChangeLog <https://129.15.160.110/Woffice/dev/dhtml/dynapi3x/docs/changelog.html> dynapi.sourceforge.net <http://dynapi.sourceforge.net/> Now, where can I get the package which contains viewpane? >If you're using the older DynAPI 2, try looking at the ScrollPane example. > >dynapi/examples/dynapi.gui.scrollpane.html > >Leif > >----- Original Message ----- >From: "antonio" <an...@co...> >To: <dyn...@li...> >Sent: Sunday, October 05, 2003 12:37 PM >Subject: [Dynapi-Help] scrollbar inside layer > > > > >>hi all, >>I have a layer where I put some html. >>How can I put a scrollbar inside my dynlayer to scroll the contents? >> >>really thanks >>antonio >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Dynapi-Help mailing list >>Dyn...@li... >>https://lists.sourceforge.net/lists/listinfo/dynapi-help >> >> >> >> > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Dynapi-Help mailing list >Dyn...@li... >https://lists.sourceforge.net/lists/listinfo/dynapi-help > > > |
From: Bruce T. <blu...@ya...> - 2003-10-06 23:21:40
|
Did this ever make it into cvs? I grabbed the snapshot for 3.0.x from Oct 6 and I don't seem to see it. Raymond Irving <xw...@ya...> wrote:Hello Everyone, With the new dynapi.util.FileReader class it's now easier to read the content of any file on the server with just a few lines of codes: var fl = new FileReader(init); function init(){ var url = 'dynapi.util.filereader.xml'; var str = fl.read(url); alert(str); } That it! See the dynapi.util.filereader.html example Check out CVS or wait for the nightly snapshot -- Raymond Irving __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Help mailing list Dyn...@li... https://lists.sourceforge.net/lists/listinfo/dynapi-help www.bluewolverine.com --------------------------------- Do you Yahoo!? The New Yahoo! Shopping - with improved product search |
From: Yanglong Z. <yz...@ou...> - 2003-10-06 21:20:52
|
Hi everyone, I'm trying to load content to a form dynamically with LoadPanel(); So far I can only LoadPanel() as an independent element as on the 3.x demo page. Although I could add stuff inside the loadpanel, I can't find a way to add the loaded content into a form element. I tried use innerHTML and document.getElementById(). I actually can get the id, but document.getElementById() yields null. I believe there is a DynAPI native way to do this. I DynAPI does have internal getInnerHTML() methods. But I don't know how to use that kind function my self. Please help. Yanglong Zhu |
From: <as...@we...> - 2003-10-06 08:47:40
|
Tank's Raymond. It worked. ASilva -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Raymond Irving Sent: quarta-feira, 1 de Outubro de 2003 16:30 To: dyn...@li... Subject: RE: [Dynapi-Help] Treeview inside a inline layer use dynapi.document.insertChild(lyr,'relative'); See: examples/dynapi.api.ext.inline.html examples/dynapi.api.ext.inline-widget.html -- Raymond Irving --- Ant=F3nio_Silva <as...@we...> wrote: > Can you please tell me how can it be done? >=20 > Regards, >=20 > Antonio Silva >=20 > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On > Behalf Of Raymond > Irving > Sent: quarta-feira, 1 de Outubro de 2003 15:35 > To: dyn...@li... > Subject: Re: [Dynapi-Help] Treeview inside a inline > layer >=20 >=20 >=20 > Yes, it's possible. >=20 > -- > Raymond Irving >=20 > --- Ant=F3nio_Silva <ant...@it...> wrote: > > Hello everyone, > >=20 > > Is it possible to put the new Explorer Widget > inside > > an inline layer? > > The solution that I'm seeking is to have the > > explorer inside a <table> > > </table> Tag=92s. > >=20 > > Regards, > >=20 > > Ant=F3nio Silva > >=20 > >=20 > >=20 > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Help mailing list > > Dyn...@li... > > > https://lists.sourceforge.net/lists/listinfo/dynapi-help >=20 >=20 > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product > search > http://shopping.yahoo.com >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf=20 > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf=20 > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Help mailing list Dyn...@li... https://lists.sourceforge.net/lists/listinfo/dynapi-help |
From: Leif W <war...@us...> - 2003-10-05 17:01:49
|
If you are using DynAPI 3, you might want to look at the ViewPane example. dynapi3x/examples/dynapi.gui.viewpane.html If you're using the older DynAPI 2, try looking at the ScrollPane example. dynapi/examples/dynapi.gui.scrollpane.html Leif ----- Original Message ----- From: "antonio" <an...@co...> To: <dyn...@li...> Sent: Sunday, October 05, 2003 12:37 PM Subject: [Dynapi-Help] scrollbar inside layer > hi all, > I have a layer where I put some html. > How can I put a scrollbar inside my dynlayer to scroll the contents? > > really thanks > antonio > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help > > |
From: antonio <an...@co...> - 2003-10-05 16:33:38
|
hi all, I have a layer where I put some html. How can I put a scrollbar inside my dynlayer to scroll the contents? really thanks antonio |
From: Raymond I. <xw...@ya...> - 2003-10-05 15:23:25
|
Hi Everyone, [+] Add disableContextMenu() to MouseEvent class - see quickref.mouseevent.html [-] Fix dragevent bug with boundary when child layer is larger than it's parent Opera is now set to use mouse_ie.js instead of mouse_dom.js since opera. This works in my mouse testings. Please test also and give a confirmation. New updates are now inside CVS -- Raymond Irving __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-10-05 04:19:35
|
Hello Everyone, Modify dragevents.js starting at line 107 to reflect the following: // Respect boundary, if any if (lyr._dragBoundary) { var dB = lyr._dragBoundary; var t = dB.top; var r = dB.right; var b = dB.bottom; var l = dB.left; // prevent choppy dragging if child is greater than parent var pw = (lyr.parent.w>lyr.w)? lyr.parent.w-lyr.w:lyr.x; var ph = (lyr.parent.h>lyr.h)? lyr.parent.h-lyr.h:lyr.y; if (x<l) x = l; else if (x>pw-r) x = pw-r; if (y<t) y = t; else if (y>ph-b) y = ph-b; } Please see the attacted file for testing the new code. If it now works as if should then please let me know. PS. Please note that DynLayer.setDragMode will be changed to DynLayer.setDragEnabled(d,useIcon) -- Raymond Irving --- Brian Hayes <bg...@ke...> wrote: > Dear developer's, > > I wanted to share a code change that I > made today with version > 3, as it relates to the setDragBoundary function is > DragEvents. I noticed > that when you enable boundaries and you have this > within a containing object > that was smaller than the one with limits you would > get very choppy > behavior. I worked around this by using the > eventlistener "ondragmove" and > "ondragstop", by setting my location based on the > area of my container.. > Then it hit me, while working on the > dynapi.function.getimage and some guys > from work whom specialize in oop style programing.. > add the code to the core > dragevent.js file (line 113), and not longer worry > about it.. So here it is, > and please let me know what could do better (if > any, as math is hard for me > to visualize).. > > Origianal Code.. > //if > (x<l) x = l; > > //else if > (x>lyr.parent.w-lyr.w-r) x = lyr.parent.w-lyr.w-r; > //if > (y<t) y = t; > > //else if > (y>lyr.parent.h-lyr.h-b) y = lyr.parent.h-lyr.h-b; > > New Code.. > > if(lyr.parent.w>lyr.w){ // > We are in a container larger than we are, so use the > orignal code.. > > if (x<l) x = l; > > else if > (x>lyr.parent.w-lyr.w-r) x = lyr.parent.w-lyr.w-r; > > if (y<t) y = t; > > else if > (y>lyr.parent.h-lyr.h-b) y = lyr.parent.h-lyr.h-b; > > } > else > if(lyr.parent.w<lyr.w){ //opps we are larger than > our container, so make us > smother to our areas.. > > if ( (x*-1) < l) > x = l; > > else if ( > ((x*-1) +lyr.parent.w-r) >= lyr.w) x = > lyr.parent.w-lyr.w-r; > > if ( (y*-1) < t) > y = t; > > else if ( > ((y*-1) +lyr.parent.h-b) >= lyr.h) y = > lyr.parent.w-lyr.h-b; > } > > The above allows the borders to flow very smooth.. > Please let me know what > you think, and if you have a cleaner way of writing > the above.. > > Example: > > var container = new > DynLayer(null,0,0,200,200,"e0e0e0"); > var insideObj = new DynLayer("Inside",0,0,400,400, > "blue"); larger than our > container... > container.addChild(insideObj); > dynapi.document.addChild(container); > dynapi.document.insertAllChildren(); > > Thanks... Brian Hayes. > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-10-03 14:44:18
|
Yep. I think saving the window state is up to the developer. The developer could use the DynAPI Cookie object for storing information. It's very powerfull and easy to use (not to mention cross-browser). -- Raymond Irving --- Daniel Tiru <de...@ti...> wrote: > Hi Brian! > > I like the idee, but i think its more up to the site > developer to use > those functions than to add it to the widget. I will > use it myself, but > i will keep track of these things on the server, and > use the minimized > option in the constructor instead. > > Regards > Daniel > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On > Behalf Of Brian > Hayes > Sent: den 3 oktober 2003 14:57 > To: dyn...@li... > Subject: RE: [Dynapi-Help] New List, Label and > Window Widgets > > > I also have a question or a comment.... > > Being that the window widget simulates something > that you would see on > your PC, would it not make sense to have this widget > remember state of a > window? Similar to a PC's windows? I would imagine > using cookies would > do the trick. > > Food for thought.. > > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On > Behalf Of Andrew > Gillett > Sent: Thursday, October 02, 2003 11:15 PM > To: dyn...@li... > Subject: Re: [Dynapi-Help] New List, Label and > Window Widgets > > Daniel Tiru wrote: > > Great, atleast someone except me think its useful > then :) > > Hi Daniel, > > I have been looking at your stacker and window > widgets, and I also think > they are excellent. > > I have a couple of very minor issues that you may > like to look at: > > - stacker.js has various methods that use the > variable 'i' for a loop > counter without declaring the variable to be local. > I had some very > strange side-effects when I used a for-loop with > iterator 'i' to add > windows to the stacker. I think that the remove(), > move(), and > generate() methods all need a "var i;" declaration. > > - I have made a sub-class of Window that sets the > height of the content > layer to the natural height of content HTML. But to > do this, I had to > make a couple of minor tweaks to the Window > constructor. A "diff" for > my changes is below. > > Firstly, I put most of the constructor code into > an > "if(arguments.length>0)" block. This allows the > constructor to be > called without any arguments, which is necessary if > you want to set > Window as the prototype of a sub-class. > Next, I added an "if(this.h)" test before the line > that sets the > content height. This is purely for my purposes as I > didn't want to > explicitly set the height of the content layer. > Finally, I added a semi-colon on line 27 to keep > the compressor happy > :) > > > $ cvs diff window.js > Index: window.js > =================================================================== > RCS file: > /cvsroot/dynapi/dynapi3x/src/gui/window.js,v > retrieving revision 1.1 > diff -r1.1 window.js > 27c27 > < this._tmpcnt=0 > --- > > this._tmpcnt=0; > 28a29 > > if (arguments.length>0){ > 44c45,46 > < > this.content.setHeight(this.h-this._mnuheight); > --- > > if (this.h) > > > this.content.setHeight(this.h-this._mnuheight); > 51a54 > > } > > > I hope you don't mind me posting these changes. If > you would like to > see my sub-class (it's not much), just let me know. > > Thank you for these widgets, and keep up the good > work! > > regards, > Andrew Gillett > > > > > > Regards > > Daniel > > > > -----Original Message----- > > From: dyn...@li... > > [mailto:dyn...@li...] > On Behalf Of Brian > > Hayes > > Sent: den 2 oktober 2003 12:00 > > To: dyn...@li... > > Subject: RE: [Dynapi-Help] New List, Label and > Window Widgets > > > > > > Stacker.js is preaty cool.. > > > > -----Original Message----- > > From: dyn...@li... > > [mailto:dyn...@li...] > On Behalf Of Raymond > > Irving > > Sent: Wednesday, October 01, 2003 11:54 PM > > To: DynApi-Help > > Subject: [Dynapi-Help] New List, Label and Window > Widgets > > > > Hi, > > > > Check out cvs for some of really cool new widgets > for DynAPI 3 > > > > > > -- > > Raymond Irving > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > === message truncated === __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Arijit D. <ad...@pr...> - 2003-10-03 14:12:09
|
Wow, I had been working on something like stacker.js, but using inline layers. I had to put in on hold because things came up. I'm not too good at making widgets, in fact I suck. When I finish the sample page, maybe someone would be interested in taking the code and trying to make a widget out of it for everybody to use? I'll post a link to the sample page as soon as it's ready. BTW, big ups to all the developers! DynApi 3 is looking great. Thanks, Arijit -- protein.media.inc tel: 202.462.4700 cel: 202.441.0764 fax: 202.318.1176 eml: ad...@pr... web: http://www.proteinmedia.com |
From: Daniel T. <de...@ti...> - 2003-10-03 13:20:05
|
Hi Andrew! I have looked throught your code and i will make the changes to the stacker, and aswell the ";" to the window :) However i dont really understand the change you did to the window. Do you want the content layer to set the size of the window? Or am i out of the game? Regards Daniel -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Andrew Gillett Sent: den 3 oktober 2003 05:15 To: dyn...@li... Subject: Re: [Dynapi-Help] New List, Label and Window Widgets Daniel Tiru wrote: > Great, atleast someone except me think its useful then :) Hi Daniel, I have been looking at your stacker and window widgets, and I also think they are excellent. I have a couple of very minor issues that you may like to look at: - stacker.js has various methods that use the variable 'i' for a loop counter without declaring the variable to be local. I had some very strange side-effects when I used a for-loop with iterator 'i' to add windows to the stacker. I think that the remove(), move(), and generate() methods all need a "var i;" declaration. - I have made a sub-class of Window that sets the height of the content layer to the natural height of content HTML. But to do this, I had to make a couple of minor tweaks to the Window constructor. A "diff" for my changes is below. Firstly, I put most of the constructor code into an "if(arguments.length>0)" block. This allows the constructor to be called without any arguments, which is necessary if you want to set Window as the prototype of a sub-class. Next, I added an "if(this.h)" test before the line that sets the content height. This is purely for my purposes as I didn't want to explicitly set the height of the content layer. Finally, I added a semi-colon on line 27 to keep the compressor happy :) $ cvs diff window.js Index: window.js =================================================================== RCS file: /cvsroot/dynapi/dynapi3x/src/gui/window.js,v retrieving revision 1.1 diff -r1.1 window.js 27c27 < this._tmpcnt=0 --- > this._tmpcnt=0; 28a29 > if (arguments.length>0){ 44c45,46 < this.content.setHeight(this.h-this._mnuheight); --- > if (this.h) > this.content.setHeight(this.h-this._mnuheight); 51a54 > } I hope you don't mind me posting these changes. If you would like to see my sub-class (it's not much), just let me know. Thank you for these widgets, and keep up the good work! regards, Andrew Gillett > > Regards > Daniel > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On Behalf Of Brian > Hayes > Sent: den 2 oktober 2003 12:00 > To: dyn...@li... > Subject: RE: [Dynapi-Help] New List, Label and Window Widgets > > > Stacker.js is preaty cool.. > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On Behalf Of Raymond > Irving > Sent: Wednesday, October 01, 2003 11:54 PM > To: DynApi-Help > Subject: [Dynapi-Help] New List, Label and Window Widgets > > Hi, > > Check out cvs for some of really cool new widgets for DynAPI 3 > > > -- > Raymond Irving > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Help mailing list Dyn...@li... https://lists.sourceforge.net/lists/listinfo/dynapi-help |
From: Daniel T. <de...@ti...> - 2003-10-03 13:08:44
|
Hi Brian! I like the idee, but i think its more up to the site developer to use those functions than to add it to the widget. I will use it myself, but i will keep track of these things on the server, and use the minimized option in the constructor instead. Regards Daniel -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Brian Hayes Sent: den 3 oktober 2003 14:57 To: dyn...@li... Subject: RE: [Dynapi-Help] New List, Label and Window Widgets I also have a question or a comment.... Being that the window widget simulates something that you would see on your PC, would it not make sense to have this widget remember state of a window? Similar to a PC's windows? I would imagine using cookies would do the trick. Food for thought.. -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Andrew Gillett Sent: Thursday, October 02, 2003 11:15 PM To: dyn...@li... Subject: Re: [Dynapi-Help] New List, Label and Window Widgets Daniel Tiru wrote: > Great, atleast someone except me think its useful then :) Hi Daniel, I have been looking at your stacker and window widgets, and I also think they are excellent. I have a couple of very minor issues that you may like to look at: - stacker.js has various methods that use the variable 'i' for a loop counter without declaring the variable to be local. I had some very strange side-effects when I used a for-loop with iterator 'i' to add windows to the stacker. I think that the remove(), move(), and generate() methods all need a "var i;" declaration. - I have made a sub-class of Window that sets the height of the content layer to the natural height of content HTML. But to do this, I had to make a couple of minor tweaks to the Window constructor. A "diff" for my changes is below. Firstly, I put most of the constructor code into an "if(arguments.length>0)" block. This allows the constructor to be called without any arguments, which is necessary if you want to set Window as the prototype of a sub-class. Next, I added an "if(this.h)" test before the line that sets the content height. This is purely for my purposes as I didn't want to explicitly set the height of the content layer. Finally, I added a semi-colon on line 27 to keep the compressor happy :) $ cvs diff window.js Index: window.js =================================================================== RCS file: /cvsroot/dynapi/dynapi3x/src/gui/window.js,v retrieving revision 1.1 diff -r1.1 window.js 27c27 < this._tmpcnt=0 --- > this._tmpcnt=0; 28a29 > if (arguments.length>0){ 44c45,46 < this.content.setHeight(this.h-this._mnuheight); --- > if (this.h) > this.content.setHeight(this.h-this._mnuheight); 51a54 > } I hope you don't mind me posting these changes. If you would like to see my sub-class (it's not much), just let me know. Thank you for these widgets, and keep up the good work! regards, Andrew Gillett > > Regards > Daniel > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On Behalf Of Brian > Hayes > Sent: den 2 oktober 2003 12:00 > To: dyn...@li... > Subject: RE: [Dynapi-Help] New List, Label and Window Widgets > > > Stacker.js is preaty cool.. > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On Behalf Of Raymond > Irving > Sent: Wednesday, October 01, 2003 11:54 PM > To: DynApi-Help > Subject: [Dynapi-Help] New List, Label and Window Widgets > > Hi, > > Check out cvs for some of really cool new widgets for DynAPI 3 > > > -- > Raymond Irving > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Help mailing list Dyn...@li... https://lists.sourceforge.net/lists/listinfo/dynapi-help ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Help mailing list Dyn...@li... https://lists.sourceforge.net/lists/listinfo/dynapi-help |
From: Brian H. <bg...@ke...> - 2003-10-03 13:00:42
|
I also have a question or a comment.... Being that the window widget simulates something that you would see on your PC, would it not make sense to have this widget remember state of a window? Similar to a PC's windows? I would imagine using cookies would do the trick. Food for thought.. -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Andrew Gillett Sent: Thursday, October 02, 2003 11:15 PM To: dyn...@li... Subject: Re: [Dynapi-Help] New List, Label and Window Widgets Daniel Tiru wrote: > Great, atleast someone except me think its useful then :) Hi Daniel, I have been looking at your stacker and window widgets, and I also think they are excellent. I have a couple of very minor issues that you may like to look at: - stacker.js has various methods that use the variable 'i' for a loop counter without declaring the variable to be local. I had some very strange side-effects when I used a for-loop with iterator 'i' to add windows to the stacker. I think that the remove(), move(), and generate() methods all need a "var i;" declaration. - I have made a sub-class of Window that sets the height of the content layer to the natural height of content HTML. But to do this, I had to make a couple of minor tweaks to the Window constructor. A "diff" for my changes is below. Firstly, I put most of the constructor code into an "if(arguments.length>0)" block. This allows the constructor to be called without any arguments, which is necessary if you want to set Window as the prototype of a sub-class. Next, I added an "if(this.h)" test before the line that sets the content height. This is purely for my purposes as I didn't want to explicitly set the height of the content layer. Finally, I added a semi-colon on line 27 to keep the compressor happy :) $ cvs diff window.js Index: window.js =================================================================== RCS file: /cvsroot/dynapi/dynapi3x/src/gui/window.js,v retrieving revision 1.1 diff -r1.1 window.js 27c27 < this._tmpcnt=0 --- > this._tmpcnt=0; 28a29 > if (arguments.length>0){ 44c45,46 < this.content.setHeight(this.h-this._mnuheight); --- > if (this.h) > this.content.setHeight(this.h-this._mnuheight); 51a54 > } I hope you don't mind me posting these changes. If you would like to see my sub-class (it's not much), just let me know. Thank you for these widgets, and keep up the good work! regards, Andrew Gillett > > Regards > Daniel > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On Behalf Of Brian > Hayes > Sent: den 2 oktober 2003 12:00 > To: dyn...@li... > Subject: RE: [Dynapi-Help] New List, Label and Window Widgets > > > Stacker.js is preaty cool.. > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On Behalf Of Raymond > Irving > Sent: Wednesday, October 01, 2003 11:54 PM > To: DynApi-Help > Subject: [Dynapi-Help] New List, Label and Window Widgets > > Hi, > > Check out cvs for some of really cool new widgets for DynAPI 3 > > > -- > Raymond Irving > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Help mailing list Dyn...@li... https://lists.sourceforge.net/lists/listinfo/dynapi-help |
From: Andrew G. <an...@zo...> - 2003-10-03 03:14:56
|
Daniel Tiru wrote: > Great, atleast someone except me think its useful then :) Hi Daniel, I have been looking at your stacker and window widgets, and I also think they are excellent. I have a couple of very minor issues that you may like to look at: - stacker.js has various methods that use the variable 'i' for a loop counter without declaring the variable to be local. I had some very strange side-effects when I used a for-loop with iterator 'i' to add windows to the stacker. I think that the remove(), move(), and generate() methods all need a "var i;" declaration. - I have made a sub-class of Window that sets the height of the content layer to the natural height of content HTML. But to do this, I had to make a couple of minor tweaks to the Window constructor. A "diff" for my changes is below. Firstly, I put most of the constructor code into an "if(arguments.length>0)" block. This allows the constructor to be called without any arguments, which is necessary if you want to set Window as the prototype of a sub-class. Next, I added an "if(this.h)" test before the line that sets the content height. This is purely for my purposes as I didn't want to explicitly set the height of the content layer. Finally, I added a semi-colon on line 27 to keep the compressor happy :) $ cvs diff window.js Index: window.js =================================================================== RCS file: /cvsroot/dynapi/dynapi3x/src/gui/window.js,v retrieving revision 1.1 diff -r1.1 window.js 27c27 < this._tmpcnt=0 --- > this._tmpcnt=0; 28a29 > if (arguments.length>0){ 44c45,46 < this.content.setHeight(this.h-this._mnuheight); --- > if (this.h) > this.content.setHeight(this.h-this._mnuheight); 51a54 > } I hope you don't mind me posting these changes. If you would like to see my sub-class (it's not much), just let me know. Thank you for these widgets, and keep up the good work! regards, Andrew Gillett > > Regards > Daniel > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On Behalf Of Brian > Hayes > Sent: den 2 oktober 2003 12:00 > To: dyn...@li... > Subject: RE: [Dynapi-Help] New List, Label and Window Widgets > > > Stacker.js is preaty cool.. > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On Behalf Of Raymond > Irving > Sent: Wednesday, October 01, 2003 11:54 PM > To: DynApi-Help > Subject: [Dynapi-Help] New List, Label and Window Widgets > > Hi, > > Check out cvs for some of really cool new widgets for DynAPI 3 > > > -- > Raymond Irving > |
From: Daniel T. <de...@ti...> - 2003-10-02 10:36:07
|
Great, atleast someone except me think its useful then :) Regards Daniel -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Brian Hayes Sent: den 2 oktober 2003 12:00 To: dyn...@li... Subject: RE: [Dynapi-Help] New List, Label and Window Widgets Stacker.js is preaty cool.. -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Raymond Irving Sent: Wednesday, October 01, 2003 11:54 PM To: DynApi-Help Subject: [Dynapi-Help] New List, Label and Window Widgets Hi, Check out cvs for some of really cool new widgets for DynAPI 3 -- Raymond Irving __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Help mailing list Dyn...@li... https://lists.sourceforge.net/lists/listinfo/dynapi-help ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Help mailing list Dyn...@li... https://lists.sourceforge.net/lists/listinfo/dynapi-help |
From: Brian H. <bg...@ke...> - 2003-10-02 10:03:12
|
Stacker.js is preaty cool.. -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Raymond Irving Sent: Wednesday, October 01, 2003 11:54 PM To: DynApi-Help Subject: [Dynapi-Help] New List, Label and Window Widgets Hi, Check out cvs for some of really cool new widgets for DynAPI 3 -- Raymond Irving __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Help mailing list Dyn...@li... https://lists.sourceforge.net/lists/listinfo/dynapi-help |
From: Raymond I. <xw...@ya...> - 2003-10-02 03:54:26
|
Hi, Check out cvs for some of really cool new widgets for DynAPI 3 -- Raymond Irving __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-10-01 20:03:45
|
--- Brian Hayes <bg...@ke...> wrote: > Also, > > To see the below imageobject.js in action, > http://www.keyout.com/keyout/test.cfm, this > dynapi.document uses this for > all images, and a ton of event listeners.. Which I > found to be a good way to > keep the code in order. Plus the load manager for > the navigation... With a > line of code to alter the data that you load in. To > include the drageevent > issue, when the layer is inside a smaller layer.. > > ...please let me know your thoughts... Very very nice! Keep up the good work. -- Raymond Irving > Brian Hayes > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-10-01 15:30:25
|
use dynapi.document.insertChild(lyr,'relative'); See: examples/dynapi.api.ext.inline.html examples/dynapi.api.ext.inline-widget.html -- Raymond Irving --- António_Silva <as...@we...> wrote: > Can you please tell me how can it be done? > > Regards, > > Antonio Silva > > -----Original Message----- > From: dyn...@li... > [mailto:dyn...@li...] On > Behalf Of Raymond > Irving > Sent: quarta-feira, 1 de Outubro de 2003 15:35 > To: dyn...@li... > Subject: Re: [Dynapi-Help] Treeview inside a inline > layer > > > > Yes, it's possible. > > -- > Raymond Irving > > --- António_Silva <ant...@it...> wrote: > > Hello everyone, > > > > Is it possible to put the new Explorer Widget > inside > > an inline layer? > > The solution that I'm seeking is to have the > > explorer inside a <table> > > </table> Tags. > > > > Regards, > > > > António Silva > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Help mailing list > > Dyn...@li... > > > https://lists.sourceforge.net/lists/listinfo/dynapi-help > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product > search > http://shopping.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: <as...@we...> - 2003-10-01 15:09:20
|
Can you please tell me how can it be done? Regards, Antonio Silva -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Raymond Irving Sent: quarta-feira, 1 de Outubro de 2003 15:35 To: dyn...@li... Subject: Re: [Dynapi-Help] Treeview inside a inline layer Yes, it's possible. -- Raymond Irving --- Ant=F3nio_Silva <ant...@it...> wrote: > Hello everyone, >=20 > Is it possible to put the new Explorer Widget inside > an inline layer? > The solution that I'm seeking is to have the > explorer inside a <table> > </table> Tag=92s. >=20 > Regards, >=20 > Ant=F3nio Silva >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf=20 > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Help mailing list Dyn...@li... https://lists.sourceforge.net/lists/listinfo/dynapi-help |
From: Raymond I. <xw...@ya...> - 2003-10-01 14:35:20
|
Yes, it's possible. -- Raymond Irving --- António_Silva <ant...@it...> wrote: > Hello everyone, > > Is it possible to put the new Explorer Widget inside > an inline layer? > The solution that I'm seeking is to have the > explorer inside a <table> > </table> Tags. > > Regards, > > António Silva > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Brian H. <bg...@ke...> - 2003-10-01 10:14:25
|
Raymond, I noticed your code looks different than mine... Try this. And you should see what I am talking about. var container = new DynLayer(null,0,0,200,200,"e0e0e0"); var insideObj = new DynLayer("Inside",0,0,400,400, "blue"); // larger than our container... container.addChild(insideObj); DragEvent.setDragBoundary(insideObj, {left:0, right:0, top:0, bottom:0}); DragEvent.enableDragEvents(insideObj) dynapi.document.addChild(container); Brian Hayes -----Original Message----- From: dyn...@li... [mailto:dyn...@li...] On Behalf Of Raymond Irving Sent: Wednesday, October 01, 2003 12:43 AM To: dyn...@li... Subject: RE: [Dynapi-Help] Where does this need to be poted? Hi, I'm unable to reproduct the choppy behaviour. Here's the code I'm using: var container = new DynLayer(null,0,0,200,200,"e0e0e0"); var insideObj = new DynLayer("Inside",0,0,400,400, "blue"); // larger than our container... container.addChild(insideObj); DragEvent.enableDragEvents(container,insideObj) dynapi.document.addChild(container); Could you provide an online demo of this error? -- Rayond Irving --- Brian Hayes <bg...@ke...> wrote: > O.k I just did a little test, and the below code only seems to work if > you put a layer inside a layer, but if your layer is larger than your > page (not in side a layer, but simply on added to the page) it doen't > work.. So, how can you tell if your parent layer is the window or a > DynLayer? Or again, i'm sure its the below code..or, possibly not > being able to detect a window size change?? > > _____ > > From: dyn...@li... > [mailto:dyn...@li...] On Behalf Of Brian > Hayes > Sent: Sunday, September 21, 2003 10:50 AM > To: dyn...@li... > Subject: [Dynapi-Help] Where does this need to be poted? > > Dear developer's, > > I wanted to share a code change that I made today with > version 3, as it relates to the setDragBoundary function is > DragEvents. I noticed that when you enable boundaries and you have > this within a containing object that was smaller than the one with > limits you would get very choppy behavior. I worked around this by > using the eventlistener "ondragmove" and "ondragstop", by setting my > location based on the area of my container.. > Then it hit me, while working on the > dynapi.function.getimage and some guys from work whom specialize in > oop style programing.. > add the code to the core > dragevent.js file (line 113), and not longer worry about it.. So here > it is, and please let me know what could do better (if any, as math > is hard for me to visualize).. > > Origianal Code.. > //if > (x<l) x = l; > > //else if > (x>lyr.parent.w-lyr.w-r) x = lyr.parent.w-lyr.w-r; > //if > (y<t) y = t; > > //else if > (y>lyr.parent.h-lyr.h-b) y = lyr.parent.h-lyr.h-b; > > New Code.. > > if(lyr.parent.w>lyr.w){ // > We are in a container larger than we are, so use the orignal code.. > > if (x<l) x = l; > > else if > (x>lyr.parent.w-lyr.w-r) x = lyr.parent.w-lyr.w-r; > > if (y<t) y = t; > > else if > (y>lyr.parent.h-lyr.h-b) y = lyr.parent.h-lyr.h-b; > > } else > if(lyr.parent.w<lyr.w){ //opps we are larger than our container, so > make us smother to our areas.. > > if ( (x*-1) < l) > x = l; > > else if ( > ((x*-1) +lyr.parent.w-r) >= lyr.w) x = lyr.parent.w-lyr.w-r; > > if ( (y*-1) < t) > y = t; > > else if ( > ((y*-1) +lyr.parent.h-b) >= lyr.h) y = lyr.parent.w-lyr.h-b; > } > > The above allows the borders to flow very smooth.. > Please let me know what > you think, and if you have a cleaner way of writing the above.. > > Example: > > var container = new > DynLayer(null,0,0,200,200,"e0e0e0"); > var insideObj = new DynLayer("Inside",0,0,400,400, "blue"); larger > than our container... > container.addChild(insideObj); > dynapi.document.addChild(container); > dynapi.document.insertAllChildren(); > > Thanks... Brian Hayes. > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Help mailing list Dyn...@li... https://lists.sourceforge.net/lists/listinfo/dynapi-help |
From: Raymond I. <xw...@ya...> - 2003-10-01 04:42:35
|
Hi, I'm unable to reproduct the choppy behaviour. Here's the code I'm using: var container = new DynLayer(null,0,0,200,200,"e0e0e0"); var insideObj = new DynLayer("Inside",0,0,400,400, "blue"); // larger than our container... container.addChild(insideObj); DragEvent.enableDragEvents(container,insideObj) dynapi.document.addChild(container); Could you provide an online demo of this error? -- Rayond Irving --- Brian Hayes <bg...@ke...> wrote: > O.k I just did a little test, and the below code > only seems to work if you > put a layer inside a layer, but if your layer is > larger than your page (not > in side a layer, but simply on added to the page) it > doen't work.. So, how > can you tell if your parent layer is the window or a > DynLayer? Or again, i'm > sure its the below code..or, possibly not being able > to detect a window size > change?? > > _____ > > From: dyn...@li... > [mailto:dyn...@li...] On > Behalf Of Brian Hayes > Sent: Sunday, September 21, 2003 10:50 AM > To: dyn...@li... > Subject: [Dynapi-Help] Where does this need to be > poted? > > Dear developer's, > > I wanted to share a code change that I > made today with version > 3, as it relates to the setDragBoundary function is > DragEvents. I noticed > that when you enable boundaries and you have this > within a containing object > that was smaller than the one with limits you would > get very choppy > behavior. I worked around this by using the > eventlistener "ondragmove" and > "ondragstop", by setting my location based on the > area of my container.. > Then it hit me, while working on the > dynapi.function.getimage and some guys > from work whom specialize in oop style programing.. > add the code to the core > dragevent.js file (line 113), and not longer worry > about it.. So here it is, > and please let me know what could do better (if > any, as math is hard for me > to visualize).. > > Origianal Code.. > //if > (x<l) x = l; > > //else if > (x>lyr.parent.w-lyr.w-r) x = lyr.parent.w-lyr.w-r; > //if > (y<t) y = t; > > //else if > (y>lyr.parent.h-lyr.h-b) y = lyr.parent.h-lyr.h-b; > > New Code.. > > if(lyr.parent.w>lyr.w){ // > We are in a container larger than we are, so use the > orignal code.. > > if (x<l) x = l; > > else if > (x>lyr.parent.w-lyr.w-r) x = lyr.parent.w-lyr.w-r; > > if (y<t) y = t; > > else if > (y>lyr.parent.h-lyr.h-b) y = lyr.parent.h-lyr.h-b; > > } > else > if(lyr.parent.w<lyr.w){ //opps we are larger than > our container, so make us > smother to our areas.. > > if ( (x*-1) < l) > x = l; > > else if ( > ((x*-1) +lyr.parent.w-r) >= lyr.w) x = > lyr.parent.w-lyr.w-r; > > if ( (y*-1) < t) > y = t; > > else if ( > ((y*-1) +lyr.parent.h-b) >= lyr.h) y = > lyr.parent.w-lyr.h-b; > } > > The above allows the borders to flow very smooth.. > Please let me know what > you think, and if you have a cleaner way of writing > the above.. > > Example: > > var container = new > DynLayer(null,0,0,200,200,"e0e0e0"); > var insideObj = new DynLayer("Inside",0,0,400,400, > "blue"); larger than our > container... > container.addChild(insideObj); > dynapi.document.addChild(container); > dynapi.document.insertAllChildren(); > > Thanks... Brian Hayes. > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |