From: Leif W <war...@us...> - 2004-07-24 11:49:55
|
It could lead to it's own widget. ;-) There still remains to no-horiz-scroll bug in Mozilla. :-\ New in CVS: dynapi3x/examples/dynapi.gui.viewpane.html That's all of my previously unsubmitted code except for some IOElement and SODA stuff. The ViewPane example was actually all new tonight. The library remains unchanged. If the example is too confusing I'll go back and simplify it! Sorry, got a bit carried away. Leif |
From: Kevin <ke...@ke...> - 2004-07-24 16:32:13
|
Hi, I looked at using dynapi again but gave up because of this Moz' horiz scroll problem that Leif highlighted again below. Can any clever dev' fix this? I'll have a look at the new cvs example when I get some time. Are Raymond's new style manager/border mods merged in cvs? Thanks Kevin. ----- Original Message ----- From: "Leif W" <war...@us...> To: <dyn...@li...> Sent: Saturday, July 24, 2004 12:49 PM Subject: [Dynapi-Dev] ViewPane example is now on steroids. > It could lead to it's own widget. ;-) There still remains to > no-horiz-scroll bug in Mozilla. :-\ > > New in CVS: > > dynapi3x/examples/dynapi.gui.viewpane.html > > That's all of my previously unsubmitted code except for some IOElement > and SODA stuff. > The ViewPane example was actually all new tonight. The library remains > unchanged. If the example is too confusing I'll go back and simplify > it! Sorry, got a bit carried away. > > Leif > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |
From: Leif W <war...@us...> - 2004-07-24 17:51:08
|
Hi Kevin, I am pretty sure that they are still on his site, largely untested by most of us... I forgot about that. I'll have to get a copy and start playing with it as soon as my old stuff is finished. I get the sense that Raymond wanted to give the code a chance to be played around with and any problems resolved before committing to CVS. I don't want to commit someone else's code if they're not ready to commit it themselves. It's been almost two months since his publication of the code, which is a while, but I haven't heard many people's experiences with it on here. I'll get it and do a diff -r to the current CVS tree, and prune out any minor differences like whitespace formatting, for example. FYI again: it's at http://xwisdomhtml.com/ , and needs to be tested, and may need fixes if anything's awkward. Leif ----- Original Message ----- From: "Kevin" <ke...@ke...> To: <dyn...@li...> Sent: Saturday, July 24, 2004 12:37 PM Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > Hi, > > I looked at using dynapi again but gave up because of this > Moz' horiz scroll problem that Leif highlighted again below. > Can any clever dev' fix this? > > I'll have a look at the new cvs example when I get some time. > Are Raymond's new style manager/border mods merged in > cvs? > > Thanks Kevin. > > ----- Original Message ----- > From: "Leif W" <war...@us...> > To: <dyn...@li...> > Sent: Saturday, July 24, 2004 12:49 PM > Subject: [Dynapi-Dev] ViewPane example is now on steroids. > > > > It could lead to it's own widget. ;-) There still remains to > > no-horiz-scroll bug in Mozilla. :-\ > > > > New in CVS: > > > > dynapi3x/examples/dynapi.gui.viewpane.html > > > > That's all of my previously unsubmitted code except for some IOElement > > and SODA stuff. > > The ViewPane example was actually all new tonight. The library remains > > unchanged. If the example is too confusing I'll go back and simplify > > it! Sorry, got a bit carried away. > > > > Leif > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://www.mail-archive.com/dyn...@li.../ > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > |
From: Kevin <ke...@ke...> - 2004-07-24 22:56:45
|
Hi Leif, Had a quick check of your ViewPane example in cvs. It's good and not confusing at all. Just a shame about the no horiz' scroll in Moz'. I'm using Firefox http://www.mozilla.org/products/firefox/ for Windows so I see the same error. A quick look at Raymond's stuff was good too. The new RichTextBox looked great but the edit area didn't work in Firefox but a great beta version. Kevin ----- Original Message ----- From: "Leif W" <war...@us...> To: <dyn...@li...> Sent: Saturday, July 24, 2004 6:50 PM Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > Hi Kevin, > > I am pretty sure that they are still on his site, largely untested by > most of us... I forgot about that. I'll have to get a copy and start > playing with it as soon as my old stuff is finished. I get the sense > that Raymond wanted to give the code a chance to be played around with > and any problems resolved before committing to CVS. I don't want to > commit someone else's code if they're not ready to commit it themselves. > It's been almost two months since his publication of the code, which is > a while, but I haven't heard many people's experiences with it on here. > I'll get it and do a diff -r to the current CVS tree, and prune out any > minor differences like whitespace formatting, for example. > > FYI again: it's at http://xwisdomhtml.com/ , and needs to be tested, and > may need fixes if anything's awkward. > > Leif > > ----- Original Message ----- > From: "Kevin" <ke...@ke...> > To: <dyn...@li...> > Sent: Saturday, July 24, 2004 12:37 PM > Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > > > > Hi, > > > > I looked at using dynapi again but gave up because of this > > Moz' horiz scroll problem that Leif highlighted again below. > > Can any clever dev' fix this? > > > > I'll have a look at the new cvs example when I get some time. > > Are Raymond's new style manager/border mods merged in > > cvs? > > > > Thanks Kevin. > > > > ----- Original Message ----- > > From: "Leif W" <war...@us...> > > To: <dyn...@li...> > > Sent: Saturday, July 24, 2004 12:49 PM > > Subject: [Dynapi-Dev] ViewPane example is now on steroids. > > > > > > > It could lead to it's own widget. ;-) There still remains to > > > no-horiz-scroll bug in Mozilla. :-\ > > > > > > New in CVS: > > > > > > dynapi3x/examples/dynapi.gui.viewpane.html > > > > > > That's all of my previously unsubmitted code except for some > IOElement > > > and SODA stuff. > > > The ViewPane example was actually all new tonight. The library > remains > > > unchanged. If the example is too confusing I'll go back and > simplify > > > it! Sorry, got a bit carried away. > > > > > > Leif > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by BEA Weblogic Workshop > > > FREE Java Enterprise J2EE developer tools! > > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |
From: Peter R. <ant...@gm...> - 2004-07-26 13:39:10
|
Hi, the problem with the scrollbar is in the getContentWidth-Method in dynlayer_dom.js In my own version of dynapi I replaced it with the following: p.getContentWidth=function() { if (this.elm==null) return 0; else { var tw = this.elm.style.width; this.css.width = "auto"; var w = this.elm.scrollWidth; this.css.width = tw; return w; }; }; // For interest the getContentHeight-method looks this way now: p.getContentHeight=function() { if (this.elm==null) return 0; else { var th = this.css.height; this.elm.style.height = "auto"; var h = this.elm.scrollHeight; this.css.height = th; return h; } }; This works only in mozilla version 1.6+ / firefox 0.8+ (I think, 1.4 definetely doesn't work). IIRC I even posted a bugfix for that in the sf-bugforum a while ago... Hope this helps and hope this is what you guys were looking for ;) Regards, Peter Kevin wrote: > Hi Leif, > > Had a quick check of your ViewPane example in cvs. It's good > and not confusing at all. > > Just a shame about the no horiz' scroll in Moz'. I'm using Firefox > http://www.mozilla.org/products/firefox/ for Windows so I see > the same error. > > A quick look at Raymond's stuff was good too. The new > RichTextBox looked great but the edit area didn't work in > Firefox but a great beta version. > > Kevin > > > ----- Original Message ----- > From: "Leif W" <war...@us...> > To: <dyn...@li...> > Sent: Saturday, July 24, 2004 6:50 PM > Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > > > >>Hi Kevin, >> >>I am pretty sure that they are still on his site, largely untested by >>most of us... I forgot about that. I'll have to get a copy and start >>playing with it as soon as my old stuff is finished. I get the sense >>that Raymond wanted to give the code a chance to be played around with >>and any problems resolved before committing to CVS. I don't want to >>commit someone else's code if they're not ready to commit it themselves. >>It's been almost two months since his publication of the code, which is >>a while, but I haven't heard many people's experiences with it on here. >>I'll get it and do a diff -r to the current CVS tree, and prune out any >>minor differences like whitespace formatting, for example. >> >>FYI again: it's at http://xwisdomhtml.com/ , and needs to be tested, and >>may need fixes if anything's awkward. >> >>Leif >> >>----- Original Message ----- >>From: "Kevin" <ke...@ke...> >>To: <dyn...@li...> >>Sent: Saturday, July 24, 2004 12:37 PM >>Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. >> >> >> >>>Hi, >>> >>>I looked at using dynapi again but gave up because of this >>>Moz' horiz scroll problem that Leif highlighted again below. >>>Can any clever dev' fix this? >>> >>>I'll have a look at the new cvs example when I get some time. >>>Are Raymond's new style manager/border mods merged in >>>cvs? >>> >>>Thanks Kevin. >>> >>>----- Original Message ----- >>>From: "Leif W" <war...@us...> >>>To: <dyn...@li...> >>>Sent: Saturday, July 24, 2004 12:49 PM >>>Subject: [Dynapi-Dev] ViewPane example is now on steroids. >>> >>> >>> >>>>It could lead to it's own widget. ;-) There still remains to >>>>no-horiz-scroll bug in Mozilla. :-\ >>>> >>>>New in CVS: >>>> >>>>dynapi3x/examples/dynapi.gui.viewpane.html >>>> >>>>That's all of my previously unsubmitted code except for some >> >>IOElement >> >>>>and SODA stuff. >>>>The ViewPane example was actually all new tonight. The library >> >>remains >> >>>>unchanged. If the example is too confusing I'll go back and >> >>simplify >> >>>>it! Sorry, got a bit carried away. >>>> >>>>Leif >>>> >>>> >>>> >>>> >>>>------------------------------------------------------- >>>>This SF.Net email is sponsored by BEA Weblogic Workshop >>>>FREE Java Enterprise J2EE developer tools! >>>>Get your free copy of BEA WebLogic Workshop 8.1 today. >>>>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click >>>>_______________________________________________ >>>>Dynapi-Dev mailing list >>>>Dyn...@li... >>>>http://www.mail-archive.com/dyn...@li.../ >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by BEA Weblogic Workshop >>>FREE Java Enterprise J2EE developer tools! >>>Get your free copy of BEA WebLogic Workshop 8.1 today. >>>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click >>>_______________________________________________ >>>Dynapi-Dev mailing list >>>Dyn...@li... >>>http://www.mail-archive.com/dyn...@li.../ >>> >> >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by BEA Weblogic Workshop >>FREE Java Enterprise J2EE developer tools! >>Get your free copy of BEA WebLogic Workshop 8.1 today. >>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click >>_______________________________________________ >>Dynapi-Dev mailing list >>Dyn...@li... >>http://www.mail-archive.com/dyn...@li.../ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > |
From: Doug M. <do...@cr...> - 2004-07-26 17:04:50
|
If this works then WONDERFULL! Tho, not working in 1.4 means they finally fixed the content-width bug (must missed that in the changelogs) Unfortunatly there is no way to work around this bug in 1.4 The bug in question is that Mozilla pre-1.4 misreports the width of a nested layer. The width is cut off at the edge of the containing layer. I.E. outter layer width100, height 100, x 0, y 0 and inner layer width=100, height=100, x=50, y=50 this will reporst the correct height of the inner layer (100) but will truncate the width returning 50 (where 100 is expected) ----- Original Message ----- From: "Peter Romianowski" <ant...@gm...> To: <dyn...@li...> Sent: Monday, July 26, 2004 9:39 AM Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > Hi, > > the problem with the scrollbar is in the getContentWidth-Method in dynlayer_dom.js > In my own version of dynapi I replaced it with the following: > > p.getContentWidth=function() { > if (this.elm==null) return 0; > else { > var tw = this.elm.style.width; > this.css.width = "auto"; > var w = this.elm.scrollWidth; > this.css.width = tw; > return w; > }; > }; > > // For interest the getContentHeight-method looks this way now: > p.getContentHeight=function() { > if (this.elm==null) return 0; > else { > var th = this.css.height; > this.elm.style.height = "auto"; > var h = this.elm.scrollHeight; > this.css.height = th; > return h; > } > }; > > This works only in mozilla version 1.6+ / firefox 0.8+ (I think, 1.4 definetely doesn't > work). IIRC I even posted a bugfix for that in the sf-bugforum a while ago... > > Hope this helps and hope this is what you guys were looking for ;) > > Regards, > Peter > > Kevin wrote: > > > Hi Leif, > > > > Had a quick check of your ViewPane example in cvs. It's good > > and not confusing at all. > > > > Just a shame about the no horiz' scroll in Moz'. I'm using Firefox > > http://www.mozilla.org/products/firefox/ for Windows so I see > > the same error. > > > > A quick look at Raymond's stuff was good too. The new > > RichTextBox looked great but the edit area didn't work in > > Firefox but a great beta version. > > > > Kevin > > > > > > ----- Original Message ----- > > From: "Leif W" <war...@us...> > > To: <dyn...@li...> > > Sent: Saturday, July 24, 2004 6:50 PM > > Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > > > > > > > >>Hi Kevin, > >> > >>I am pretty sure that they are still on his site, largely untested by > >>most of us... I forgot about that. I'll have to get a copy and start > >>playing with it as soon as my old stuff is finished. I get the sense > >>that Raymond wanted to give the code a chance to be played around with > >>and any problems resolved before committing to CVS. I don't want to > >>commit someone else's code if they're not ready to commit it themselves. > >>It's been almost two months since his publication of the code, which is > >>a while, but I haven't heard many people's experiences with it on here. > >>I'll get it and do a diff -r to the current CVS tree, and prune out any > >>minor differences like whitespace formatting, for example. > >> > >>FYI again: it's at http://xwisdomhtml.com/ , and needs to be tested, and > >>may need fixes if anything's awkward. > >> > >>Leif > >> > >>----- Original Message ----- > >>From: "Kevin" <ke...@ke...> > >>To: <dyn...@li...> > >>Sent: Saturday, July 24, 2004 12:37 PM > >>Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > >> > >> > >> > >>>Hi, > >>> > >>>I looked at using dynapi again but gave up because of this > >>>Moz' horiz scroll problem that Leif highlighted again below. > >>>Can any clever dev' fix this? > >>> > >>>I'll have a look at the new cvs example when I get some time. > >>>Are Raymond's new style manager/border mods merged in > >>>cvs? > >>> > >>>Thanks Kevin. > >>> > >>>----- Original Message ----- > >>>From: "Leif W" <war...@us...> > >>>To: <dyn...@li...> > >>>Sent: Saturday, July 24, 2004 12:49 PM > >>>Subject: [Dynapi-Dev] ViewPane example is now on steroids. > >>> > >>> > >>> > >>>>It could lead to it's own widget. ;-) There still remains to > >>>>no-horiz-scroll bug in Mozilla. :-\ > >>>> > >>>>New in CVS: > >>>> > >>>>dynapi3x/examples/dynapi.gui.viewpane.html > >>>> > >>>>That's all of my previously unsubmitted code except for some > >> > >>IOElement > >> > >>>>and SODA stuff. > >>>>The ViewPane example was actually all new tonight. The library > >> > >>remains > >> > >>>>unchanged. If the example is too confusing I'll go back and > >> > >>simplify > >> > >>>>it! Sorry, got a bit carried away. > >>>> > >>>>Leif > >>>> > >>>> > >>>> > >>>> > >>>>------------------------------------------------------- > >>>>This SF.Net email is sponsored by BEA Weblogic Workshop > >>>>FREE Java Enterprise J2EE developer tools! > >>>>Get your free copy of BEA WebLogic Workshop 8.1 today. > >>>>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > >>>>_______________________________________________ > >>>>Dynapi-Dev mailing list > >>>>Dyn...@li... > >>>>http://www.mail-archive.com/dyn...@li.../ > >>> > >>> > >>>------------------------------------------------------- > >>>This SF.Net email is sponsored by BEA Weblogic Workshop > >>>FREE Java Enterprise J2EE developer tools! > >>>Get your free copy of BEA WebLogic Workshop 8.1 today. > >>>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > >>>_______________________________________________ > >>>Dynapi-Dev mailing list > >>>Dyn...@li... > >>>http://www.mail-archive.com/dyn...@li.../ > >>> > >> > >> > >> > >> > >>------------------------------------------------------- > >>This SF.Net email is sponsored by BEA Weblogic Workshop > >>FREE Java Enterprise J2EE developer tools! > >>Get your free copy of BEA WebLogic Workshop 8.1 today. > >>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > >>_______________________________________________ > >>Dynapi-Dev mailing list > >>Dyn...@li... > >>http://www.mail-archive.com/dyn...@li.../ > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.726 / Virus Database: 481 - Release Date: 7/22/04 |
From: <mb...@st...> - 2004-07-26 17:46:15
|
hi there see below... > Tho, not working in 1.4 means they finally fixed the content-width bug (must > missed that in the changelogs) > > Unfortunatly there is no way to work around this bug in 1.4 NOT TRUE! 1. get the content of the layer in question (with innerHTML-property) 2. write content into a dummy-layer that is not nested and not visible (ie positioned at (-1000,-1000) ) 3. query the scrollWidth of the dummy-layer 4. delete content of the dummy-layer (this is important, since otherwise you may end up having dom-elements with duplicate id) voila! ok, it's an ugly hack, but it works well, as long as there isn't too much content (a lot of content will make this very slow). hope this helps! greets, michael |
From: Doug M. <do...@cr...> - 2004-07-26 17:51:37
|
This is still far better than anything i have come across. Though i was not considering such a thing due to the serious performance hit. Basically, I use static widths when in mozilla. It suck, I know.. But it still blows IE out of the watter ----- Original Message ----- From: "Michael Bürge" <mb...@st...> To: <dyn...@li...> Sent: Monday, July 26, 2004 1:46 PM Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > hi there > > see below... > > > Tho, not working in 1.4 means they finally fixed the content-width bug (must > > missed that in the changelogs) > > > > Unfortunatly there is no way to work around this bug in 1.4 > > NOT TRUE! > > 1. get the content of the layer in question (with innerHTML-property) > 2. write content into a dummy-layer that is not nested and not visible > (ie positioned at (-1000,-1000) ) > 3. query the scrollWidth of the dummy-layer > 4. delete content of the dummy-layer (this is important, since otherwise > you may end up having dom-elements with duplicate id) > > voila! > > ok, it's an ugly hack, but it works well, as long as there isn't too > much content (a lot of content will make this very slow). > > > hope this helps! > > greets, > michael > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.726 / Virus Database: 481 - Release Date: 7/22/04 |
From: Leif W <war...@us...> - 2004-07-30 13:53:31
|
Can anyone suggest a way to make this workaround useful within the DynAPI? Maybe as a behavior which can be turned on or off, and perhaps some conditional parameters to guess when there's not too much content, otherwise skip this if there's too much? Benchmarks might be useful for a performance impact analysis. Maybe get some data points and generate a graph to better illustrate in documentation the implications of using this option. Leif ----- Original Message ----- From: "Michael Bürge" <mb...@st...> To: <dyn...@li...> Sent: Monday, July 26, 2004 1:46 PM Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > hi there > > see below... > > > Tho, not working in 1.4 means they finally fixed the content-width bug (must > > missed that in the changelogs) > > > > Unfortunatly there is no way to work around this bug in 1.4 > > NOT TRUE! > > 1. get the content of the layer in question (with innerHTML-property) > 2. write content into a dummy-layer that is not nested and not visible > (ie positioned at (-1000,-1000) ) > 3. query the scrollWidth of the dummy-layer > 4. delete content of the dummy-layer (this is important, since otherwise > you may end up having dom-elements with duplicate id) > > voila! > > ok, it's an ugly hack, but it works well, as long as there isn't too > much content (a lot of content will make this very slow). > > > hope this helps! > > greets, > michael > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > |
From: Leif W <war...@us...> - 2004-07-30 13:46:07
|
Hi! Maybe I missed that. Anyways I just tried it now and it seems to work ok in Mozilla Firefox 0.9.1 and IE 6 SP1 in Win32. Can anyone else report results testing in other browsers or versions? NOTE: There's still a slight display bug in Mozilla. The test in this case is "Content #3". In IE6, you see the entire table border. In Mozilla thebottom edge of the border extends beyond the layer, yet there is no vertical scrollbar. Apparently they're looking only at the internal height (and probably width) of the table contents and not taking into account the table border. I wonder if they ignore borders within the table (cell divisions). I should try some tests later. Leif ----- Original Message ----- From: "Peter Romianowski" <ant...@gm...> To: <dyn...@li...> Sent: Monday, July 26, 2004 9:39 AM Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > Hi, > > the problem with the scrollbar is in the getContentWidth-Method in dynlayer_dom.js > In my own version of dynapi I replaced it with the following: > > p.getContentWidth=function() { > if (this.elm==null) return 0; > else { > var tw = this.elm.style.width; > this.css.width = "auto"; > var w = this.elm.scrollWidth; > this.css.width = tw; > return w; > }; > }; > > // For interest the getContentHeight-method looks this way now: > p.getContentHeight=function() { > if (this.elm==null) return 0; > else { > var th = this.css.height; > this.elm.style.height = "auto"; > var h = this.elm.scrollHeight; > this.css.height = th; > return h; > } > }; > > This works only in mozilla version 1.6+ / firefox 0.8+ (I think, 1.4 definetely doesn't > work). IIRC I even posted a bugfix for that in the sf-bugforum a while ago... > > Hope this helps and hope this is what you guys were looking for ;) > > Regards, > Peter > > Kevin wrote: > > > Hi Leif, > > > > Had a quick check of your ViewPane example in cvs. It's good > > and not confusing at all. > > > > Just a shame about the no horiz' scroll in Moz'. I'm using Firefox > > http://www.mozilla.org/products/firefox/ for Windows so I see > > the same error. > > > > A quick look at Raymond's stuff was good too. The new > > RichTextBox looked great but the edit area didn't work in > > Firefox but a great beta version. > > > > Kevin > > > > > > ----- Original Message ----- > > From: "Leif W" <war...@us...> > > To: <dyn...@li...> > > Sent: Saturday, July 24, 2004 6:50 PM > > Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > > > > > > > >>Hi Kevin, > >> > >>I am pretty sure that they are still on his site, largely untested by > >>most of us... I forgot about that. I'll have to get a copy and start > >>playing with it as soon as my old stuff is finished. I get the sense > >>that Raymond wanted to give the code a chance to be played around with > >>and any problems resolved before committing to CVS. I don't want to > >>commit someone else's code if they're not ready to commit it themselves. > >>It's been almost two months since his publication of the code, which is > >>a while, but I haven't heard many people's experiences with it on here. > >>I'll get it and do a diff -r to the current CVS tree, and prune out any > >>minor differences like whitespace formatting, for example. > >> > >>FYI again: it's at http://xwisdomhtml.com/ , and needs to be tested, and > >>may need fixes if anything's awkward. > >> > >>Leif > >> > >>----- Original Message ----- > >>From: "Kevin" <ke...@ke...> > >>To: <dyn...@li...> > >>Sent: Saturday, July 24, 2004 12:37 PM > >>Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > >> > >> > >> > >>>Hi, > >>> > >>>I looked at using dynapi again but gave up because of this > >>>Moz' horiz scroll problem that Leif highlighted again below. > >>>Can any clever dev' fix this? > >>> > >>>I'll have a look at the new cvs example when I get some time. > >>>Are Raymond's new style manager/border mods merged in > >>>cvs? > >>> > >>>Thanks Kevin. > >>> > >>>----- Original Message ----- > >>>From: "Leif W" <war...@us...> > >>>To: <dyn...@li...> > >>>Sent: Saturday, July 24, 2004 12:49 PM > >>>Subject: [Dynapi-Dev] ViewPane example is now on steroids. > >>> > >>> > >>> > >>>>It could lead to it's own widget. ;-) There still remains to > >>>>no-horiz-scroll bug in Mozilla. :-\ > >>>> > >>>>New in CVS: > >>>> > >>>>dynapi3x/examples/dynapi.gui.viewpane.html > >>>> > >>>>That's all of my previously unsubmitted code except for some > >> > >>IOElement > >> > >>>>and SODA stuff. > >>>>The ViewPane example was actually all new tonight. The library > >> > >>remains > >> > >>>>unchanged. If the example is too confusing I'll go back and > >> > >>simplify > >> > >>>>it! Sorry, got a bit carried away. > >>>> > >>>>Leif > >>>> > >>>> > >>>> > >>>> > >>>>------------------------------------------------------- > >>>>This SF.Net email is sponsored by BEA Weblogic Workshop > >>>>FREE Java Enterprise J2EE developer tools! > >>>>Get your free copy of BEA WebLogic Workshop 8.1 today. > >>>>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > >>>>_______________________________________________ > >>>>Dynapi-Dev mailing list > >>>>Dyn...@li... > >>>>http://www.mail-archive.com/dyn...@li.../ > >>> > >>> > >>>------------------------------------------------------- > >>>This SF.Net email is sponsored by BEA Weblogic Workshop > >>>FREE Java Enterprise J2EE developer tools! > >>>Get your free copy of BEA WebLogic Workshop 8.1 today. > >>>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > >>>_______________________________________________ > >>>Dynapi-Dev mailing list > >>>Dyn...@li... > >>>http://www.mail-archive.com/dyn...@li.../ > >>> > >> > >> > >> > >> > >>------------------------------------------------------- > >>This SF.Net email is sponsored by BEA Weblogic Workshop > >>FREE Java Enterprise J2EE developer tools! > >>Get your free copy of BEA WebLogic Workshop 8.1 today. > >>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > >>_______________________________________________ > >>Dynapi-Dev mailing list > >>Dyn...@li... > >>http://www.mail-archive.com/dyn...@li.../ > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > > |
From: Kevin <ke...@ke...> - 2004-07-31 17:03:59
|
Thanks for the fix Peter. Could anyone with cvs write access merge this and the other fixes posted recently? Kevin ----- Original Message ----- From: "Peter Romianowski" <ant...@gm...> To: <dyn...@li...> Sent: Monday, July 26, 2004 2:39 PM Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > Hi, > > the problem with the scrollbar is in the getContentWidth-Method in dynlayer_dom.js > In my own version of dynapi I replaced it with the following: > > p.getContentWidth=function() { > if (this.elm==null) return 0; > else { > var tw = this.elm.style.width; > this.css.width = "auto"; > var w = this.elm.scrollWidth; > this.css.width = tw; > return w; > }; > }; > > // For interest the getContentHeight-method looks this way now: > p.getContentHeight=function() { > if (this.elm==null) return 0; > else { > var th = this.css.height; > this.elm.style.height = "auto"; > var h = this.elm.scrollHeight; > this.css.height = th; > return h; > } > }; > > This works only in mozilla version 1.6+ / firefox 0.8+ (I think, 1.4 definetely doesn't > work). IIRC I even posted a bugfix for that in the sf-bugforum a while ago... > > Hope this helps and hope this is what you guys were looking for ;) > > Regards, > Peter > > Kevin wrote: > > > Hi Leif, > > > > Had a quick check of your ViewPane example in cvs. It's good > > and not confusing at all. > > > > Just a shame about the no horiz' scroll in Moz'. I'm using Firefox > > http://www.mozilla.org/products/firefox/ for Windows so I see > > the same error. > > > > A quick look at Raymond's stuff was good too. The new > > RichTextBox looked great but the edit area didn't work in > > Firefox but a great beta version. > > > > Kevin > > > > > > ----- Original Message ----- > > From: "Leif W" <war...@us...> > > To: <dyn...@li...> > > Sent: Saturday, July 24, 2004 6:50 PM > > Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > > > > > > > >>Hi Kevin, > >> > >>I am pretty sure that they are still on his site, largely untested by > >>most of us... I forgot about that. I'll have to get a copy and start > >>playing with it as soon as my old stuff is finished. I get the sense > >>that Raymond wanted to give the code a chance to be played around with > >>and any problems resolved before committing to CVS. I don't want to > >>commit someone else's code if they're not ready to commit it themselves. > >>It's been almost two months since his publication of the code, which is > >>a while, but I haven't heard many people's experiences with it on here. > >>I'll get it and do a diff -r to the current CVS tree, and prune out any > >>minor differences like whitespace formatting, for example. > >> > >>FYI again: it's at http://xwisdomhtml.com/ , and needs to be tested, and > >>may need fixes if anything's awkward. > >> > >>Leif > >> > >>----- Original Message ----- > >>From: "Kevin" <ke...@ke...> > >>To: <dyn...@li...> > >>Sent: Saturday, July 24, 2004 12:37 PM > >>Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > >> > >> > >> > >>>Hi, > >>> > >>>I looked at using dynapi again but gave up because of this > >>>Moz' horiz scroll problem that Leif highlighted again below. > >>>Can any clever dev' fix this? > >>> > >>>I'll have a look at the new cvs example when I get some time. > >>>Are Raymond's new style manager/border mods merged in > >>>cvs? > >>> > >>>Thanks Kevin. > >>> > >>>----- Original Message ----- > >>>From: "Leif W" <war...@us...> > >>>To: <dyn...@li...> > >>>Sent: Saturday, July 24, 2004 12:49 PM > >>>Subject: [Dynapi-Dev] ViewPane example is now on steroids. > >>> > >>> > >>> > >>>>It could lead to it's own widget. ;-) There still remains to > >>>>no-horiz-scroll bug in Mozilla. :-\ > >>>> > >>>>New in CVS: > >>>> > >>>>dynapi3x/examples/dynapi.gui.viewpane.html > >>>> > >>>>That's all of my previously unsubmitted code except for some > >> > >>IOElement > >> > >>>>and SODA stuff. > >>>>The ViewPane example was actually all new tonight. The library > >> > >>remains > >> > >>>>unchanged. If the example is too confusing I'll go back and > >> > >>simplify > >> > >>>>it! Sorry, got a bit carried away. > >>>> > >>>>Leif > >>>> > >>>> > >>>> > >>>> > >>>>------------------------------------------------------- > >>>>This SF.Net email is sponsored by BEA Weblogic Workshop > >>>>FREE Java Enterprise J2EE developer tools! > >>>>Get your free copy of BEA WebLogic Workshop 8.1 today. > >>>>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > >>>>_______________________________________________ > >>>>Dynapi-Dev mailing list > >>>>Dyn...@li... > >>>>http://www.mail-archive.com/dyn...@li.../ > >>> > >>> > >>>------------------------------------------------------- > >>>This SF.Net email is sponsored by BEA Weblogic Workshop > >>>FREE Java Enterprise J2EE developer tools! > >>>Get your free copy of BEA WebLogic Workshop 8.1 today. > >>>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > >>>_______________________________________________ > >>>Dynapi-Dev mailing list > >>>Dyn...@li... > >>>http://www.mail-archive.com/dyn...@li.../ > >>> > >> > >> > >> > >> > >>------------------------------------------------------- > >>This SF.Net email is sponsored by BEA Weblogic Workshop > >>FREE Java Enterprise J2EE developer tools! > >>Get your free copy of BEA WebLogic Workshop 8.1 today. > >>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > >>_______________________________________________ > >>Dynapi-Dev mailing list > >>Dyn...@li... > >>http://www.mail-archive.com/dyn...@li.../ > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |
From: Leif W <war...@us...> - 2004-07-31 18:15:26
|
Kevin, I have the access, but in another email, I asked for more testing in other browsers and versions and possibly OSes. I'm not too familiar with this part of the API or current browser quirks. So I don't want to muck anything up. :p It seemed to work ok for me in Mozilla Firefox 0.9.1 and IE 6 on WinXP Pro SP1, with the caveat mentioned earlier. In Mozilla, table borders do not appear to be calculated as content's visible width or height, so a scrollbar will not be generated if the table border extends beyond the ViewPane. However it's better than no scroll bar at all for any content. ;-) Leif ----- Original Message ----- From: "Kevin" <ke...@ke...> To: "Dynapi-Dev" <Dyn...@li...> Sent: Saturday, July 31, 2004 2:03 PM Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > Thanks for the fix Peter. Could anyone with cvs write access merge this and > the other fixes posted recently? > > Kevin > > ----- Original Message ----- > From: "Peter Romianowski" <ant...@gm...> > To: <dyn...@li...> > Sent: Monday, July 26, 2004 2:39 PM > Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > > > > Hi, > > > > the problem with the scrollbar is in the getContentWidth-Method in dynlayer_dom.js > > In my own version of dynapi I replaced it with the following: > > > > p.getContentWidth=function() { > > if (this.elm==null) return 0; > > else { > > var tw = this.elm.style.width; > > this.css.width = "auto"; > > var w = this.elm.scrollWidth; > > this.css.width = tw; > > return w; > > }; > > }; > > > > // For interest the getContentHeight-method looks this way now: > > p.getContentHeight=function() { > > if (this.elm==null) return 0; > > else { > > var th = this.css.height; > > this.elm.style.height = "auto"; > > var h = this.elm.scrollHeight; > > this.css.height = th; > > return h; > > } > > }; > > > > This works only in mozilla version 1.6+ / firefox 0.8+ (I think, 1.4 definetely doesn't > > work). IIRC I even posted a bugfix for that in the sf-bugforum a while ago... > > > > Hope this helps and hope this is what you guys were looking for ;) > > > > Regards, > > Peter > > > > Kevin wrote: > > > > > Hi Leif, > > > > > > Had a quick check of your ViewPane example in cvs. It's good > > > and not confusing at all. > > > > > > Just a shame about the no horiz' scroll in Moz'. I'm using Firefox > > > http://www.mozilla.org/products/firefox/ for Windows so I see > > > the same error. > > > > > > A quick look at Raymond's stuff was good too. The new > > > RichTextBox looked great but the edit area didn't work in > > > Firefox but a great beta version. > > > > > > Kevin > > > > > > > > > ----- Original Message ----- > > > From: "Leif W" <war...@us...> > > > To: <dyn...@li...> > > > Sent: Saturday, July 24, 2004 6:50 PM > > > Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > > > > > > > > > > > >>Hi Kevin, > > >> > > >>I am pretty sure that they are still on his site, largely untested by > > >>most of us... I forgot about that. I'll have to get a copy and start > > >>playing with it as soon as my old stuff is finished. I get the sense > > >>that Raymond wanted to give the code a chance to be played around with > > >>and any problems resolved before committing to CVS. I don't want to > > >>commit someone else's code if they're not ready to commit it themselves. > > >>It's been almost two months since his publication of the code, which is > > >>a while, but I haven't heard many people's experiences with it on here. > > >>I'll get it and do a diff -r to the current CVS tree, and prune out any > > >>minor differences like whitespace formatting, for example. > > >> > > >>FYI again: it's at http://xwisdomhtml.com/ , and needs to be tested, and > > >>may need fixes if anything's awkward. > > >> > > >>Leif > > >> > > >>----- Original Message ----- > > >>From: "Kevin" <ke...@ke...> > > >>To: <dyn...@li...> > > >>Sent: Saturday, July 24, 2004 12:37 PM > > >>Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > > >> > > >> > > >> > > >>>Hi, > > >>> > > >>>I looked at using dynapi again but gave up because of this > > >>>Moz' horiz scroll problem that Leif highlighted again below. > > >>>Can any clever dev' fix this? > > >>> > > >>>I'll have a look at the new cvs example when I get some time. > > >>>Are Raymond's new style manager/border mods merged in > > >>>cvs? > > >>> > > >>>Thanks Kevin. > > >>> > > >>>----- Original Message ----- > > >>>From: "Leif W" <war...@us...> > > >>>To: <dyn...@li...> > > >>>Sent: Saturday, July 24, 2004 12:49 PM > > >>>Subject: [Dynapi-Dev] ViewPane example is now on steroids. > > >>> > > >>> > > >>> > > >>>>It could lead to it's own widget. ;-) There still remains to > > >>>>no-horiz-scroll bug in Mozilla. :-\ > > >>>> > > >>>>New in CVS: > > >>>> > > >>>>dynapi3x/examples/dynapi.gui.viewpane.html > > >>>> > > >>>>That's all of my previously unsubmitted code except for some > > >> > > >>IOElement > > >> > > >>>>and SODA stuff. > > >>>>The ViewPane example was actually all new tonight. The library > > >> > > >>remains > > >> > > >>>>unchanged. If the example is too confusing I'll go back and > > >> > > >>simplify > > >> > > >>>>it! Sorry, got a bit carried away. > > >>>> > > >>>>Leif > > >>>> > > >>>> > > >>>> > > >>>> > > >>>>------------------------------------------------------- > > >>>>This SF.Net email is sponsored by BEA Weblogic Workshop > > >>>>FREE Java Enterprise J2EE developer tools! > > >>>>Get your free copy of BEA WebLogic Workshop 8.1 today. > > >>>>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > >>>>_______________________________________________ > > >>>>Dynapi-Dev mailing list > > >>>>Dyn...@li... > > >>>>http://www.mail-archive.com/dyn...@li.../ > > >>> > > >>> > > >>>------------------------------------------------------- > > >>>This SF.Net email is sponsored by BEA Weblogic Workshop > > >>>FREE Java Enterprise J2EE developer tools! > > >>>Get your free copy of BEA WebLogic Workshop 8.1 today. > > >>>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > >>>_______________________________________________ > > >>>Dynapi-Dev mailing list > > >>>Dyn...@li... > > >>>http://www.mail-archive.com/dyn...@li.../ > > >>> > > >> > > >> > > >> > > >> > > >>------------------------------------------------------- > > >>This SF.Net email is sponsored by BEA Weblogic Workshop > > >>FREE Java Enterprise J2EE developer tools! > > >>Get your free copy of BEA WebLogic Workshop 8.1 today. > > >>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > >>_______________________________________________ > > >>Dynapi-Dev mailing list > > >>Dyn...@li... > > >>http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by BEA Weblogic Workshop > > > FREE Java Enterprise J2EE developer tools! > > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://www.mail-archive.com/dyn...@li.../ > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > |
From: Kevin <ke...@ke...> - 2004-07-31 21:19:22
|
Hi Leif, Sorry I can't help with any other testing. I'm using Firefox on Windows and Mozilla on Linux. I think this a fix for the common Gecko engine? So I'm not sure if any other ports are out there. Yes it is a lot better to have a usable document target now with both scollers working. Kevin ----- Original Message ----- From: "Leif W" <war...@us...> To: <dyn...@li...> Sent: Saturday, July 31, 2004 7:15 PM Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > Kevin, > > I have the access, but in another email, I asked for more testing in > other browsers and versions and possibly OSes. I'm not too familiar > with this part of the API or current browser quirks. So I don't want to > muck anything up. :p It seemed to work ok for me in Mozilla Firefox > 0.9.1 and IE 6 on WinXP Pro SP1, with the caveat mentioned earlier. In > Mozilla, table borders do not appear to be calculated as content's > visible width or height, so a scrollbar will not be generated if the > table border extends beyond the ViewPane. However it's better than no > scroll bar at all for any content. ;-) > > Leif > > ----- Original Message ----- > From: "Kevin" <ke...@ke...> > To: "Dynapi-Dev" <Dyn...@li...> > Sent: Saturday, July 31, 2004 2:03 PM > Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > > > > Thanks for the fix Peter. Could anyone with cvs write access merge > this and > > the other fixes posted recently? > > > > Kevin > > > > ----- Original Message ----- > > From: "Peter Romianowski" <ant...@gm...> > > To: <dyn...@li...> > > Sent: Monday, July 26, 2004 2:39 PM > > Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > > > > > > > Hi, > > > > > > the problem with the scrollbar is in the getContentWidth-Method in > dynlayer_dom.js > > > In my own version of dynapi I replaced it with the following: > > > > > > p.getContentWidth=function() { > > > if (this.elm==null) return 0; > > > else { > > > var tw = this.elm.style.width; > > > this.css.width = "auto"; > > > var w = this.elm.scrollWidth; > > > this.css.width = tw; > > > return w; > > > }; > > > }; > > > > > > // For interest the getContentHeight-method looks this way now: > > > p.getContentHeight=function() { > > > if (this.elm==null) return 0; > > > else { > > > var th = this.css.height; > > > this.elm.style.height = "auto"; > > > var h = this.elm.scrollHeight; > > > this.css.height = th; > > > return h; > > > } > > > }; > > > > > > This works only in mozilla version 1.6+ / firefox 0.8+ (I think, 1.4 > definetely doesn't > > > work). IIRC I even posted a bugfix for that in the sf-bugforum a > while ago... > > > > > > Hope this helps and hope this is what you guys were looking for ;) > > > > > > Regards, > > > Peter > > > > > > Kevin wrote: > > > > > > > Hi Leif, > > > > > > > > Had a quick check of your ViewPane example in cvs. It's good > > > > and not confusing at all. > > > > > > > > Just a shame about the no horiz' scroll in Moz'. I'm using Firefox > > > > http://www.mozilla.org/products/firefox/ for Windows so I see > > > > the same error. > > > > > > > > A quick look at Raymond's stuff was good too. The new > > > > RichTextBox looked great but the edit area didn't work in > > > > Firefox but a great beta version. > > > > > > > > Kevin > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Leif W" <war...@us...> > > > > To: <dyn...@li...> > > > > Sent: Saturday, July 24, 2004 6:50 PM > > > > Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > > > > > > > > > > > > > > > >>Hi Kevin, > > > >> > > > >>I am pretty sure that they are still on his site, largely untested > by > > > >>most of us... I forgot about that. I'll have to get a copy and > start > > > >>playing with it as soon as my old stuff is finished. I get the > sense > > > >>that Raymond wanted to give the code a chance to be played around > with > > > >>and any problems resolved before committing to CVS. I don't want > to > > > >>commit someone else's code if they're not ready to commit it > themselves. > > > >>It's been almost two months since his publication of the code, > which is > > > >>a while, but I haven't heard many people's experiences with it on > here. > > > >>I'll get it and do a diff -r to the current CVS tree, and prune > out any > > > >>minor differences like whitespace formatting, for example. > > > >> > > > >>FYI again: it's at http://xwisdomhtml.com/ , and needs to be > tested, and > > > >>may need fixes if anything's awkward. > > > >> > > > >>Leif > > > >> > > > >>----- Original Message ----- > > > >>From: "Kevin" <ke...@ke...> > > > >>To: <dyn...@li...> > > > >>Sent: Saturday, July 24, 2004 12:37 PM > > > >>Subject: Re: [Dynapi-Dev] ViewPane example is now on steroids. > > > >> > > > >> > > > >> > > > >>>Hi, > > > >>> > > > >>>I looked at using dynapi again but gave up because of this > > > >>>Moz' horiz scroll problem that Leif highlighted again below. > > > >>>Can any clever dev' fix this? > > > >>> > > > >>>I'll have a look at the new cvs example when I get some time. > > > >>>Are Raymond's new style manager/border mods merged in > > > >>>cvs? > > > >>> > > > >>>Thanks Kevin. > > > >>> > > > >>>----- Original Message ----- > > > >>>From: "Leif W" <war...@us...> > > > >>>To: <dyn...@li...> > > > >>>Sent: Saturday, July 24, 2004 12:49 PM > > > >>>Subject: [Dynapi-Dev] ViewPane example is now on steroids. > > > >>> > > > >>> > > > >>> > > > >>>>It could lead to it's own widget. ;-) There still remains to > > > >>>>no-horiz-scroll bug in Mozilla. :-\ > > > >>>> > > > >>>>New in CVS: > > > >>>> > > > >>>>dynapi3x/examples/dynapi.gui.viewpane.html > > > >>>> > > > >>>>That's all of my previously unsubmitted code except for some > > > >> > > > >>IOElement > > > >> > > > >>>>and SODA stuff. > > > >>>>The ViewPane example was actually all new tonight. The library > > > >> > > > >>remains > > > >> > > > >>>>unchanged. If the example is too confusing I'll go back and > > > >> > > > >>simplify > > > >> > > > >>>>it! Sorry, got a bit carried away. > > > >>>> > > > >>>>Leif > > > >>>> > > > >>>> > > > >>>> > > > >>>> > > > >>>>------------------------------------------------------- > > > >>>>This SF.Net email is sponsored by BEA Weblogic Workshop > > > >>>>FREE Java Enterprise J2EE developer tools! > > > >>>>Get your free copy of BEA WebLogic Workshop 8.1 today. > > > >>>>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > > >>>>_______________________________________________ > > > >>>>Dynapi-Dev mailing list > > > >>>>Dyn...@li... > > > >>>>http://www.mail-archive.com/dyn...@li.../ > > > >>> > > > >>> > > > >>>------------------------------------------------------- > > > >>>This SF.Net email is sponsored by BEA Weblogic Workshop > > > >>>FREE Java Enterprise J2EE developer tools! > > > >>>Get your free copy of BEA WebLogic Workshop 8.1 today. > > > >>>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > > >>>_______________________________________________ > > > >>>Dynapi-Dev mailing list > > > >>>Dyn...@li... > > > >>>http://www.mail-archive.com/dyn...@li.../ > > > >>> > > > >> > > > >> > > > >> > > > >> > > > >>------------------------------------------------------- > > > >>This SF.Net email is sponsored by BEA Weblogic Workshop > > > >>FREE Java Enterprise J2EE developer tools! > > > >>Get your free copy of BEA WebLogic Workshop 8.1 today. > > > >>http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > > >>_______________________________________________ > > > >>Dynapi-Dev mailing list > > > >>Dyn...@li... > > > >>http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by BEA Weblogic Workshop > > > > FREE Java Enterprise J2EE developer tools! > > > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > > > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > > > _______________________________________________ > > > > Dynapi-Dev mailing list > > > > Dyn...@li... > > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by BEA Weblogic Workshop > > > FREE Java Enterprise J2EE developer tools! > > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > > _______________________________________________ > > > Dynapi-Dev mailing list > > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by OSTG. Have you noticed the changes > on > > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > > one more big change to announce. We are now OSTG- Open Source > Technology > > Group. Come see the changes on the new OSTG site. www.ostg.com > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://www.mail-archive.com/dyn...@li.../ > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |
From: Doug M. <do...@cr...> - 2004-07-24 22:57:03
|
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.726 / Virus Database: 481 - Release Date: 7/22/2004 |