MapTools.org

[Chameleon] DHTML image gets shifted

bartvde@xs4all.nl bartvde@xs4all.nl
Thu, 18 Mar 2004 09:17:19 +0100 (CET)
Hi Jacob,

there was a pretty extended discussion about this in January, see this
thread:

http://lists.maptools.org/pipermail/chameleon/2004-January/000299.html

Best regards,
Bart

> Hi List,
>
> I got a little bug in the chameleon site I built (version 1.0.4). It's
> something that happens only sometimes (most enjoyable kind of bug to fix).
> When the page loads for the first time, the DHTML image tends to show up
> shifted roughly 250 pixels to the right. After I either refresh or
> re-submit, it's mostly okay again. It happens more frequently if the
> connection is slower. I was wondering if this is a known issue, and if
> there
> is a quick fix. I suspect that it's a problem with the order in which
> things
> get initialised. I was thinking of running a function on the 'onload'
> event
> which forces the image in the right spot. But I'm not too clear about how
> I'd actually move the DHTML image (or the DIV it sits in) without messing
> up
> other things. Any ideas?
>
> The site runs at http://spatial.hgm.com.au/cwcroe7/cwc2.php
> <http://spatial.hgm.com.au/cwcroe7/cwc2.php>  (internet explorer
> oriented...
> sorry)
>
> Regards,
>
> Jacob
>
>
>
> JACOB DELFOS
> SPATIAL INFORMATION ANALYST
> Maunsell Australia Pty Ltd
> 629 Newcastle Street
> PO Box 81
> Leederville 6902
> Western Australia
> ABN 20 093 846 925
>
> Tel     + 61 8 9281 6185
> Fax     + 61 8 9281 6297
> jacob.delfos@maunsell.com
>
>



This archive was generated by Pipermail.