Hi,

Daniel Skorka wrote:

> 1. Visit address
> 2. Click one of the numbered entries in the left frame, e.g.
>    "05.1.2.1.1. Von Sidon bis Jaffa"
> 3. Click one of the entries in the middle frame, e.g.
>    "Sidon: Stadt-Mitte"
> 4. Click the small image that appears
>
> A window will open and commence resizing itself in small steps until it
> fills the whole screen. At this point resizing stops, and the window
> becomes usable.
>
> What *should* happen:
>
> A small to medium sized window should open, not resize itself and be usable
> right away; Firefox shows this behaviour.

Thanks for reporting.  What window manager do you use?  What is your
screen size (in pixels)?

That page does a few strange things:

 - <body onresize="window.location.href = window.location.href;">
   so when the window resizes, the page reloads

 - move top-left corner to recenter on reload

 - calls the resetSize(90) function to determine 90% of screen size
   on reload, using the following script:

   http://www.gda.bayern.de/bestaende/viewer/sizeViewerToPage.js

 - writes a table and embedded flash object with that width and height
   using document.write().

That first part seems very questionable to me.  Based on
https://developer.mozilla.org/en/DOM/window.open#Best_practices
I am guessing it would be better to use the width= and height=
parameters when opening the window instead of trying to second-guess
the user who resizes it later.

Hope that helps,
Jonathan



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to