<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>thanks, all works great now.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-----Original Message-----<BR>From: Jason Fournier
[mailto:jfournier@dmsolutions.ca] <BR>Sent: 15 June 2005 09:42<BR>To: Delfos,
Jacob<BR>Cc: <A
href="mailto:chameleon@lists.maptools.org">chameleon@lists.maptools.org</A><BR>Subject:
Re: [Chameleon] JSAPI sample - Javascript errors in IE</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Jacob,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I can replicate this issue. After a bit of
digging it seems that the MapTips widget is creating a layer that also exists in
the template. By removing:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><!-- display maptips here --><BR><div
id="MapTipsLayer" name="MapTipsLayer"></div></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>the error goes away (ie, CWCDHTML_SetLayerZOrder()
grabs the proper MapTipsLayer). Note that the keymap functions properly
after the removal if this layer. I'll update cvs.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Jason</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Delfos, Jacob wrote:<BR>> Hi all,<BR>>
<BR>> Just got a little bug, and was wondering if it's just me.....<BR>>
<BR>> If I use the JSAPI enhanced template in mozilla, everything is fine. If
<BR>> I use it in internet explorer, I get an error:<BR>> <BR>> Line
223: "undefined is null or not an object"<BR>> <BR>> This error occurs in
cwc_dhtml.js, in the function <BR>> "CWCDHTML_SetLayerZOrder", at the line
that says:<BR>> <BR>> layer.zIndex =
nLevel;<BR>> <BR>> It only happens in internet explorer. Most navigation
buttons do not <BR>> work, and the keymap doesn't show. Anyone know why this
happens?<BR>> <BR>> Regards,<BR>> <BR>> Jacob<BR>> <BR>> P.S.
am using latest CVS version, head branch.<BR>> <BR>> <BR>> *JACOB
DELFOS<BR>> SPATIAL INFORMATION ANALYST<BR>> *Maunsell Australia Pty
Ltd<BR>> 629 Newcastle Street, Leederville, WA 6007<BR>> PO Box 81,
Leederville, WA 6902<BR>> Western Australia<BR>> ABN 20 093 846
925<BR>> <BR>> Tel + 61 8 9281 6185<BR>>
Fax + 61 8 9281 6297<BR>> <A
href="mailto:_jacob.delfos@maunsell.com">_jacob.delfos@maunsell.com</A>_<BR>>
<BR>> <BR>>
------------------------------------------------------------------------<BR>>
<BR>> _______________________________________________<BR>> Chameleon
mailing list<BR>> <A
href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</A><BR>>
<A
href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>-- <BR>________________________<BR>Jason
Fournier</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>DM Solutions Group Inc.<BR><A
href="mailto:jfournier@dmsolutions.ca">jfournier@dmsolutions.ca</A><BR><A
href="http://www.dmsolutions.ca">www.dmsolutions.ca</A><BR>613.565.5056
x18<BR></FONT></DIV></BODY></HTML>