You are here: Re: Seeking Mac and Linux Beta Testers « HTML « IT news, forums, messages
Re: Seeking Mac and Linux Beta Testers

Posted by Toby Inkster on 10/31/53 11:24

Onideus Mad Hatter wrote:

> http://www.backwater-productions.net/_test_platform/bw3/
>
> Let me know whether the Flash file loads dead center in your screen,
> what OS you're using, what browser and what yer screen res is set at.

Opera 8.02, Linux.

Flash object appears raised 380 pixels *above* the *top* of the page!

Try replacing the first two lines of your "load.js" file with these few
lines:

lspace = (document.documentElement.clientWidth - 760) / 2;
tspace = (document.documentElement.clientHeight - 424) / 2;
lspace = (lspace < 0) ? 0 : lspace;
tspace = (tspace < 0) ? 0 : tspace;

which will set lspace and tspace to 0 any time your
document.documentElement thing doesn't work.

Alternatively, try replacing the proprietary "document.documentElement"
with "document.body", which is overall better supported.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Now Playing ~ ./bryan_adams/summer_of_69.ogg

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация