wwp@yahoogroups.com:
Re: Fullscreen height only 87 %
Carsten T. Dr. Rees 2006-Jun-25 18:17:00
Hello!
Perhaps the construct <Body onResize="..."> can help with this, where there
is a reload function connected to the resize event. Depending on the browser
the resize event will be triggered from continously during resize to just
once at the and of a resize.
Gr??e
CTR
Am 25.06.2006 19:02 Uhr schrieb "Markus Altendorff" unter
<#removed#>:
> Peter Nyfeler wrote:
>>
>> Did you have changed something' Now it looks fine.
>>
>> Thank you!
>
> My pleasure ;)
>
> I had written an earlier email to the list, that somehow
> didn't make it through (maybe spam filter or something).
>
> Well, the reason for the 87% was that at 1024x768, which
> still is the most common used screen size, it requires about
> 87% to keep all the text below the panorama on-screen,
> including the (optional) audio track controller.
>
> What i've added today is - since we're using Javascript for
> the EOLAS patent avoider anyway - a Javascript snippet that
> reads the effective height of the window, subtracts 90
> pixels (the average height of the text below the pano, plus
> some safety margin), and uses the result as "height in
> pixels" instead of the percent.
>
> Consider this "beta" - it works, but i'm not sure if my
> fellow admins think it's a good idea. I'm waiting for comments.
>
> This solution comes at a price: The panorama will not resize
> automatically if you drag the window bigger or smaller,
> since the size is calculated one time on loading. The
> earlier solution (the "percent" measurement) would adapt to
> dragging the window size with the mouse. The new one
> doesn't. I'm not sure how this affects the user experience,
> if at all. Any opinions on that?
>
> -Markus
>
>
>
> ------
> The World-Wide Panorama
>
> For more information:
> -Visit the web site at http://GeoImages.Berkeley.edu/wwp.html
> Yahoo! Groups Links
>
>
>
>
>
>
>