Hello again!
Because gecko-based browsers seem to have problems when scrolling a viewpane driven by events (if you pick the knob yourself and drag it it does not scroll fluently, but if you simply stay on the down/up-buttons it works great) I implemented step-scrolling which could act as a fix or as speed-up when complex layers should be scrolled (on slower systems).
I think the viewport.js should be quite up-to-date with cvs, but please copy my changes into the cvs-file and not overwrite the cvs-file with my copy. I maked all placed where source changed and it sould be easy to find the approriate places in CVS.
I also attached the explorer-viewport demo which shows howto use it (simply rewrote the constructor.)
Since I have just started with dynapi, feel free to rewrite parts or format it dynapi-compatible ;-)
Thanks, lg Clemens
PS: I found a bug in FireFoxRC which seems to render the knows in scrollbars wrong (no shadow-effekt). I'll have a look, maybe I can find the problem and can open a bug-report.
viewpane.js
Description: JavaScript source
