PDA

View Full Version : Using browser scrollbars dhtml


Can Barışcan
04-21-2007, 09:54 AM
Hello there, I want to use browser scrollbars, I have disabled the overflow: hidden in the dthml embed code.

Ok first of all I have to admit I'm not very proficient with CSS at all :). But I'm searching for 100% height solutions atm.

For firefox I have everything looking working fine, using the browser scrollbar on the right , but the canvas height is still the visible height. But luckily the scrollbars work fine, when for example the content grows or shrinks.

On IE 6 and IE 7 the browser scrollbar is correct untill you resize the browser yourself, when the canvas height gets set to the maximum visible content, but when the content shriks, the canvas height doesn't shrink.

Oh btw the context menus loose it too. Poping up above where I click.

Is there a right way to do it? If not, this should be fixed. I'm only beginning to develop and I have managers waiting for me :). I look like I talk the talk but not walk the walk atm. Can't bug it cause I don't know what the right behavior is..

Thanks ahead,
Can

Can Barışcan
04-23-2007, 01:28 AM
here's what I have done in OL 3.3.3 with flash runtime I'm trying it on OL4 dhtml, please run Textheightscroll.html, and scroll up and down click increase all decrease all height, I've also set the scrollbar from flash to tell the browser to scroll,
Thanks ahead
Can

max
05-11-2007, 01:11 PM
Hi,

this should be fixed in the nightly builds of 4.0, and the upcoming 4.0.1 release. Let me know how it goes!

Regards,
Max Carlson
OpenLaszlo.org

anand
09-29-2007, 04:24 AM
Hi Can,
Were you able to do it for dhtml.
Regards,
Anand