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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/
-------------------------------------------------------
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
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/
-------------------------------------------------------
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
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/
-------------------------------------------------------
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
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/
-------------------------------------------------------
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
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/