MapTools.org

[Chameleon] DHTML image gets shifted

Delfos, Jacob jacob.delfos@maunsell.com
Thu, 18 Mar 2004 14:06:31 +1100
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C40C96.0333A340
Content-Type: text/plain;
	charset="iso-8859-1"

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


------_=_NextPart_001_01C40C96.0333A340
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>DHTML image gets shifted</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi List,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">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?</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">The site runs at </FONT><A =
HREF=3D"http://spatial.hgm.com.au/cwcroe7/cwc2.php"><U><FONT =
COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">http://spatial.hgm.com.au/cwcroe7/cwc2.php</FONT></U></A>=
<FONT SIZE=3D2 FACE=3D"Arial"> (internet explorer oriented... =
sorry)</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Regards,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Jacob</FONT>
</P>
<BR>
<BR>

<P><B><FONT COLOR=3D"#009500" FACE=3D"Arial">J</FONT><FONT =
COLOR=3D"#009500" SIZE=3D1 FACE=3D"Arial">ACOB</FONT> <FONT =
COLOR=3D"#009500" FACE=3D"Arial">D</FONT><FONT COLOR=3D"#009500" =
SIZE=3D1 FACE=3D"Arial">ELFOS<BR>
</FONT><FONT COLOR=3D"#009500" FACE=3D"Arial">S</FONT><FONT =
COLOR=3D"#009500" SIZE=3D1 FACE=3D"Arial">PATIAL</FONT> <FONT =
COLOR=3D"#009500" FACE=3D"Arial">I</FONT><FONT COLOR=3D"#009500" =
SIZE=3D1 FACE=3D"Arial">NFORMATION</FONT> <FONT COLOR=3D"#009500" =
FACE=3D"Arial">A</FONT><FONT COLOR=3D"#009500" SIZE=3D1 =
FACE=3D"Arial">NALYST</FONT><BR>
</B><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Arial">Maunsell Australia =
Pty Ltd<BR>
629 Newcastle Street<BR>
PO Box 81<BR>
Leederville 6902<BR>
Western Australia<BR>
ABN 20 093 846 925<BR>
<BR>
Tel =A0=A0=A0=A0+ 61 8 9281 6185<BR>
Fax=A0=A0=A0=A0=A0+ 61 8 9281 6297<BR>
</FONT><U><FONT COLOR=3D"#009C21" SIZE=3D2 =
FACE=3D"Arial">jacob.delfos@maunsell.com</FONT></U>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C40C96.0333A340--


This archive was generated by Pipermail.