From: Raymond I. <xw...@ya...> - 2003-04-24 19:57:54
|
As for the addHTML() function .... // Before the page loads you can use addHTML to add regular html text to the document. // this will behave similar to the document.write() function in both ns4 and other browsers dynapi.document.addHTML('Some Text <b>here Some Text</b> here Some Text here Some Text here Some Text here Some Text here'); dynapi.onLoad(function(){ // After the page has been loaded the addHTML() function will behave differently in ns4 than in other browsers. // All HTML content added after the page has been loaded in ns4 will appear at location 0,0 // while in other browsers it will be appended to the end of the document. // It's best to use the addHTML() to add inline layers to the document after a page load. var html='<table border="1" width="100%"><tr><td>This is an inline layer that was created after page load</td></tr></table>'; if(dynapi.ua.ns4) dynapi.document.addHTML('<layer id="myid2" width="100" height="100" bgcolor="yellow">'+html+'</layer>'); else dynapi.document.addHTML('<div id="myid2" style="position:absolute;width:100px;height:100px;background-color:yellow;">'+html+'</div>'); var lyr = new DynLayer(); lyr.setID('myid2',true); dynapi.document.addChild(lyr); lyr.setLocation(100,100); lyr.setSize(150,100); lyr.setHTML(html); }); Should we keep the addHTML() function or remove it and have the users implement their own functions? -- Raymond Irving __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com |
From: Dan W. <da...@wi...> - 2003-04-24 21:56:01
|
On Thu, 2003-04-24 at 14:57, Raymond Irving wrote: > As for the addHTML() function .... > > // Before the page loads you can use addHTML to add > regular html text to the document. > // this will behave similar to the document.write() > function in both ns4 and other browsers > dynapi.document.addHTML('Some Text <b>here Some > Text</b> here Some Text here Some Text here Some Text > here Some Text here'); > > dynapi.onLoad(function(){ > > // After the page has been loaded the addHTML() > function will behave differently in ns4 than in other > browsers. > // All HTML content added after the page has been > loaded in ns4 will appear at location 0,0 > // while in other browsers it will be appended to the > end of the document. > // It's best to use the addHTML() to add inline > layers to the document after a page load. > > var html='<table border="1" width="100%"><tr><td>This > is an inline layer that was created after page > load</td></tr></table>'; > > if(dynapi.ua.ns4) dynapi.document.addHTML('<layer > id="myid2" width="100" height="100" > bgcolor="yellow">'+html+'</layer>'); > else dynapi.document.addHTML('<div id="myid2" > style="position:absolute;width:100px;height:100px;background-color:yellow;">'+html+'</div>'); > > var lyr = new DynLayer(); > lyr.setID('myid2',true); > dynapi.document.addChild(lyr); > lyr.setLocation(100,100); > lyr.setSize(150,100); > lyr.setHTML(html); > }); > > > Should we keep the addHTML() function or remove it and > have the users implement their own functions? I vote that we keep it, face it, eventually netscape 4 will be gone, and then there won't be a problem anymore. I won't support scraping a 'newer' feature just because it doesn't work right in a 5+ year browser. We could recommend not to use it if you want your webpage to work entirely correctly in nn4. > > > -- > Raymond Irving > > __________________________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo > http://search.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ -- Dan Willemsen <da...@wi...> |
From: Raymond I. <xw...@ya...> - 2003-04-24 22:41:54
|
Hi, When using setClass('whatever',true) you should always create dynlayer with width and height or 0. This is to prevent dynlayer from attempting to autosize the layer. It was suggested once that we get the width and the height from the style of the layer, but that might not be a good thing to do as style sheets can use different values for width and height: width:100px; height:100px; width:100%; height:100%; width:100cm; height:100cm; If a layer's style width inside the style sheet was set to 100% then the dynlayer would report the wrong size, correct? Any thoughts on this? Should we document that users set the width and height to 0,0 when using style sheets? Or should we enable DynLayer.assignElement() to first check for a valid css width/height before calling getContentWidth/Height? -- Raymond Irving __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com |
From: Benoit M. <mar...@ma...> - 2003-04-24 23:01:40
|
If the size is set in percent isn't there an api on the div themseves to get their actual size ? Benoit On Thursday, April 24, 2003, at 03:41 PM, Raymond Irving wrote: > Hi, > > > When using setClass('whatever',true) you should always > create dynlayer with width and height or 0. This is to > prevent dynlayer from attempting to autosize the > layer. > > It was suggested once that we get the width and the > height from the style of the layer, but that might not > be a good thing to do as style sheets can use > different values for width and height: > > width:100px; height:100px; > width:100%; height:100%; > width:100cm; height:100cm; > > If a layer's style width inside the style sheet was > set to 100% then the dynlayer would report the wrong > size, correct? > > Any thoughts on this? Should we document that users > set the width and height to 0,0 when using style > sheets? Or should we enable DynLayer.assignElement() > to first check for a valid css width/height before > calling getContentWidth/Height? > > > > -- > Raymond Irving > > __________________________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo > http://search.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > |
From: Raymond I. <xw...@ya...> - 2003-04-25 05:12:23
|
--- Benoit Marchant <mar...@ma...> wrote: > If the size is set in percent isn't there an api on > the div themseves > to get their actual size ? The only function that I'm aware of is the getContentWidth/Height which returns the size of the layers content. This does not return the real width See the contentwidth_height.html test page inside the tshoot/ folder. This is currently inside cvs -- Raymond Irving > Benoit > > On Thursday, April 24, 2003, at 03:41 PM, Raymond > Irving wrote: > > > Hi, > > > > > > When using setClass('whatever',true) you should > always > > create dynlayer with width and height or 0. This > is to > > prevent dynlayer from attempting to autosize the > > layer. > > > > It was suggested once that we get the width and > the > > height from the style of the layer, but that might > not > > be a good thing to do as style sheets can use > > different values for width and height: > > > > width:100px; height:100px; > > width:100%; height:100%; > > width:100cm; height:100cm; > > > > If a layer's style width inside the style sheet > was > > set to 100% then the dynlayer would report the > wrong > > size, correct? > > > > Any thoughts on this? Should we document that > users > > set the width and height to 0,0 when using style > > sheets? Or should we enable > DynLayer.assignElement() > > to first check for a valid css width/height before > > calling getContentWidth/Height? > > > > > > > > -- > > Raymond Irving > > > > __________________________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo > > http://search.yahoo.com > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > 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-04-25 05:22:37
|
Hello All, SourceForce web site is not working at the moment so I'll post the patches here. [*] Update Examples [+] Add addHTML() example [+] Add textanimation [-] Fix bug in inline-widget example to work with ns4 [*] Modify LoadPanel to support new code changes [*] FlashSound library can now be loaded Dynamically using dynapi.library.load() [-] Fix library conflicts with instrinsic javascript object (String, Math, Date and Image) [-] Fix dynapi.library-load.html example [*] Modify addHTML() [*] Separate soda from ioelmsrv.{whatever} to produce ioelmsrv.{whatever} and ioelmsrv.soda.{whatever} [*] Rename soda.{whatever} to ioelmsrv.{whatever} [*] Separate library packages from dynapi.js - now stored in ext/packages.js [+] Add getContentWidth/Hight test page [+] Add version.xml to dynapi/src [*] Rename dynapi compiler to dynapi compressor - replace icon [*] Remove revision. file from dynapi/ - only dynapi/docs/docs/revision.html will be used [-] Fix onCreate/onPreCreate bug - onCreate [-] Fix functions.Image with ns4 layers [-] Fix IOElement bug with visible content Changes are inside cvs From my test 98% of examples work in ns4 on windows, linux? mac? Please perform other test and let's see if we can work together on adding finishing touches to the core api, fx, widgets and docs. Can we have a beta 1 release by middle of May (15-may-2003)? -- Raymond Irving __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-04-25 16:40:50
|
Hello Everyone, As mentioned eariler it would nice to try and get a release of the new dynapi out the the public as soon as possible. The polls on the dynapi web site are showing that more persons want to see what 3.0 is all about. I'm of the believe that we are closing in on a stable release but would first like to get a beta version out to the public. Do you agree that we release a beta 1 to the public? On another note I would just like to hear how things are going on the following libraries,etc. Can we have these in for the beta release? Need more time? * The new DynArea Library? * The new Snap Library? - Have not heard from Leif for sometime now. * The new TabManager/KeyEvents Extensions/Library? * Widgets? How far gone are you Doug? * Documentation? Any updates? * Anyone working on porting the IOElement server-side codes to other platforms? -- Raymond Irving __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com |
From: Benoit M. <mar...@ma...> - 2003-04-25 18:52:02
|
As far as I'm concern, I'm really close to be able to finish it, but I just can't work on it right now. I will be able to get back to it next week. Benoit On Friday, April 25, 2003, at 09:40 AM, Raymond Irving wrote: > Hello Everyone, > > As mentioned eariler it would nice to try and get a > release of the new dynapi out the the public as soon > as possible. The polls on the dynapi web site are > showing that more persons want to see what 3.0 is all > about. I'm of the believe that we are closing in on a > stable release but would first like to get a beta > version out to the public. Do you agree that we > release a beta 1 to the public? > > On another note I would just like to hear how things > are going on the following libraries,etc. Can we have > these in for the beta release? Need more time? > > * The new DynArea Library? > > * The new Snap Library? - Have not heard from Leif for > sometime now. > > * The new TabManager/KeyEvents Extensions/Library? > > * Widgets? How far gone are you Doug? > > * Documentation? Any updates? > > * Anyone working on porting the IOElement server-side > codes to other platforms? > > > -- > Raymond Irving > > > > > __________________________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo > http://search.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > |
From: Dan W. <da...@wi...> - 2003-04-25 22:17:42
|
On Fri, 2003-04-25 at 11:40, Raymond Irving wrote: > Hello Everyone, > > As mentioned eariler it would nice to try and get a > release of the new dynapi out the the public as soon > as possible. The polls on the dynapi web site are > showing that more persons want to see what 3.0 is all > about. I'm of the believe that we are closing in on a > stable release but would first like to get a beta > version out to the public. Do you agree that we > release a beta 1 to the public? > > On another note I would just like to hear how things > are going on the following libraries,etc. Can we have > these in for the beta release? Need more time? > > * The new DynArea Library? > > * The new Snap Library? - Have not heard from Leif for > sometime now. > > * The new TabManager/KeyEvents Extensions/Library? > > * Widgets? How far gone are you Doug? > > * Documentation? Any updates? I'm working on them, but not making a lot of progress right now. I'm in high school and all my classes are rushing to get everything done for the end of the year, so I haven't had too much time. I may be able to get more done after May 8, since that is the day of the AP US History test, and my history class should be doing pretty much nothing past that. I do have a lot of c programming to do for a robot we are building in tech class though. I just need more time. Anyone have a time machine/some thing to elongate time? > > * Anyone working on porting the IOElement server-side > codes to other platforms? I could help, but the time issue I am having is still there. I know php and perl. > > > -- > Raymond Irving > > > > > __________________________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo > http://search.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ -- Dan Willemsen <da...@wi...> |
From: Raymond I. <xw...@ya...> - 2003-04-27 17:01:57
|
--- Dan Willemsen <da...@wi...> wrote: > > * Documentation? Any updates? > I'm working on them, but not making a lot of > progress right now. I'm in > high school and all my classes are rushing to get > everything done for > the end of the year, so I haven't had too much time. > I may be able to > get more done after May 8, since that is the day of > the AP US History > test, and my history class should be doing pretty > much nothing past > that. I understand. It's very important that you secure as much as you on the exams and course work. The docs aren't realy necessary for the beta release so there's no rush. > .. I do have a lot of c programming to do for a > robot we are > building in tech class though. I just need more > time. On another note... Have you ever heard about the BasicX microprocessor, the JavelinStamp Or the SitePlayer? Just a few microprocessors that I came across while doing some research some time ago. The SitePlayer is my favourite. It's a complete web server inside a micro chip. www.basicx.com www.siteplayer.com www.javelinstamp.com > > * Anyone working on porting the IOElement > server-side > > codes to other platforms? > > I could help, but the time issue I am having is > still there. I know php > and perl. Sounds great. PS. All the best with your exams and school work. Best regards, -- Raymond Irving > > > > > > > -- > > Raymond Irving > > > > > > > > > > __________________________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo > > http://search.yahoo.com > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > -- > Dan Willemsen <da...@wi...> > __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Leif W <war...@us...> - 2003-04-25 23:15:18
|
----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: "DynAPI-Dev" <dyn...@li...> Sent: Friday, April 25, 2003 12:40 PM Subject: [Dynapi-Dev] DynAPI Beta Release > Hello Everyone, > > As mentioned eariler it would nice to try and get a > release of the new dynapi out the the public as soon > as possible. The polls on the dynapi web site are > showing that more persons want to see what 3.0 is all > about. I'm of the believe that we are closing in on a > stable release but would first like to get a beta > version out to the public. Do you agree that we > release a beta 1 to the public? > > On another note I would just like to hear how things > are going on the following libraries,etc. Can we have > these in for the beta release? Need more time? > > * The new DynArea Library? > > * The new Snap Library? - Have not heard from Leif for > sometime now. Think I posted to the mailing list what I had a while back. It should suffice for an alpha. Never heard any feedback on it. Here it is again. I'm not sure how to post the changes to CVS. But I also wasn't sure if this would be "finished" enough for others to poke at. Here goes nothing. Documentation is thin, but the very basics are on the example page. I can elaborate if necessary, probably want to for a beta release. http://dynapi:dyn...@dy.../DynAPI/dynapi3x/examples/dynapi. fx.motionx.snap.html The code is in the same file as the motionx stuff but it's pretty much separate. http://dynapi:dyn...@dy.../DynAPI/dynapi3x/src/fx/motionx.t xt > * The new TabManager/KeyEvents Extensions/Library? > > * Widgets? How far gone are you Doug? > > * Documentation? Any updates? > > * Anyone working on porting the IOElement server-side > codes to other platforms? > > > -- > Raymond Irving > > > > > __________________________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo > http://search.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > |
From: Raymond I. <xw...@ya...> - 2003-04-27 17:23:08
|
Please see below: --- Leif W <war...@us...> wrote: > > Think I posted to the mailing list what I had a > while back. It should > suffice for an alpha. Never heard any feedback on > it. Yes, we did gave some feedback on it. Check the archives to see some of the feedbacks: http://www.mail-archive.com/dyn...@li.../msg05190.html http://www.mail-archive.com/dyn...@li.../msg05194.html http://www.mail-archive.com/dyn...@li.../msg05203.html > Here it is again. > I'm not sure how to post the changes to CVS. For CVS updates you can do one on the two: 1) Setup wincvs to work with ssh http://sourceforge.net/docman/display_doc.php?docid=6841&group_id=1 http://sourceforge.net/docman/display_doc.php?docid=761&group_id=1 http://sourceforge.net/docman/display_doc.php?docid=766&group_id=1 Or 2) Upload your changes using the patch system fromt the dynapi website. A developer with cvs setup on his machine can then upload your changes. -- Raymond Irving > But I > also wasn't sure if this > would be "finished" enough for others to poke at. > Here goes nothing. > Documentation is thin, but the very basics are on > the example page. I can > elaborate if necessary, probably want to for a beta > release. > > http://dynapi:dyn...@dy.../DynAPI/dynapi3x/examples/dynapi. > fx.motionx.snap.html > > The code is in the same file as the motionx stuff > but it's pretty much > separate. > > http://dynapi:dyn...@dy.../DynAPI/dynapi3x/src/fx/motionx.t > xt > __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |