<!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.5730.11" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>the box should appear next to the mouse cursor position,
incidentaly near the last point you clicked.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>edit the outline.js file and add an alert in the
code:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>function addLabel(text,x,y) {<BR> alert("addLabel called
\n text: " + text + "\n x:" + x + "\n y:" + y);<BR> outlineLabelInput =
xGetElementById('outlineLabelInputDiv');<BR> outlineLabelText =
xGetElementById('outline_label_text');<BR> outlineLabelText.value =
text;<BR> xMoveTo(outlineLabelInput,x + 5,y + 5);<BR>
outlineLabelInput.style.zIndex = 3;<BR>
xShow(outlineLabelInput);<BR>}</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>let me know what is the output.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=p.shapley@gmail.com href="mailto:p.shapley@gmail.com">Paul
Shapley</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=oliver.christen@camptocamp.com
href="mailto:oliver.christen@camptocamp.com">Oliver Christen</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, March 08, 2007 4:27
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cartoweb-users] Label Box
Position</DIV>
<DIV><BR></DIV>
<DIV>Hello Oliver,</DIV>
<DIV> </DIV>
<DIV>Strange!. Yes this appears exactly as you stated in outline.css.
Oddly.... when you type in the box it labels the object exactly as it
should, it just appears outside the main 'map' window. This seem to occur
after i re-introduced the project file into 3.3.0.</DIV>
<DIV> </DIV>
<DIV>Is opening the position of this box determined by the location of the
last 'location point' of the polygon?.</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV> </DIV>
<DIV>Paul<BR><BR> </DIV>
<DIV><SPAN class=gmail_quote>On 08/03/07, <B class=gmail_sendername>Oliver
Christen</B> <<A
href="mailto:oliver.christen@camptocamp.com">oliver.christen@camptocamp.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV bgcolor="#ffffff">
<DIV><FONT size=2>Hi Paul, </FONT></DIV>
<DIV><FONT size=2>the only reason i can think about is the css rule is not
set for the label floating box.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>check if you have this in your outline.css</FONT></DIV>
<DIV>#outlineLabelInputDiv {
<TABLE>
<TBODY>
<TR>
<TD> </TD>
<TD> position:absolute;</TD></TR>
<TR>
<TD> </TD>
<TD> visibility:hidden;</TD></TR>
<TR>
<TD> </TD>
<TD> padding:10px;</TD></TR>
<TR>
<TD> </TD>
<TD> background-color:#f5f5f5;</TD></TR>
<TR>
<TD> </TD>
<TD> border:1px dashed #dfdfdf;</TD></TR>
<TR>
<TD> </TD>
<TD> }</TD></TR></TBODY></TABLE></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Regards,</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><SPAN class=e id=q_111320576ce1af07_1>
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial"><B>From:</B> <A
title=p.shapley@gmail.com
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:p.shapley@gmail.com" target=_blank>Paul Shapley</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:cartoweb-users@lists.maptools.org"
target=_blank>cartoweb-users@lists.maptools.org </A></DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, March 08, 2007 2:36
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] Label Box
Position</DIV>
<DIV><BR> </DIV>
<DIV>Hi Users,</DIV>
<DIV> </DIV>
<DIV>Somehow i've got my label box above the tabs on the legend instead of
on the map. Which file do i use to correct it?.</DIV>
<DIV> </DIV>
<DIV>All i've done is recently updated to 3.3.0 from 3.2. Has the
Cartoclient.tpl code changed.<BR clear=all><BR>-- <BR>Paul J. Shapley
</DIV></SPAN></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Cartoweb-users@lists.maptools.org"
target=_blank>Cartoweb-users@lists.maptools.org </A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.maptools.org/mailman/listinfo/cartoweb-users"
target=_blank>http://lists.maptools.org/mailman/listinfo/cartoweb-users</A><BR>
<P></P>
<P></P></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- <BR>Paul
J. Shapley </BLOCKQUOTE></BODY></HTML>