World Wide Panorama mailing list archive

Mailinglist:wwp@yahoogroups.com
Sender:Markus Altendorff
Date/Time:2006-Jun-25 17:02:00
Subject:Re: Fullscreen height only 87 %

Thread:


wwp@yahoogroups.com: Re: Fullscreen height only 87 % Markus Altendorff 2006-Jun-25 17:02:00
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

Next thread:

Previous thread:

back to search page