<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>3DSite</TITLE>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT color=#000000 size=2>< and > shouldnt be a problem as they are
encoded and decoded automaticaly by cartoweb ajax layer. Sending html fragments
via ajax doesnt cause any problem in other plugins so it shouldnt in
your.</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>but imbricating quote and doublequote may be
problematic.</FONT></DIV>
<DIV><FONT color=#000000 size=2>why dont you put the popup code in a function in
a .js and simlpy call it from the template ?</FONT></DIV>
<DIV><FONT color=#000000 size=2>... onclick="openMe({$value})" > in the
template</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>and in a .js</FONT></DIV>
<DIV><FONT color=#000000 size=2>function openMe(value) {</FONT></DIV>
<DIV><FONT color=#000000 size=2>
window.open('http://wssoilution.bosqom.nl/Boorstaat.aspx?width=450&height=250&language=nl&layout=someBPLname&view=single&measurementobjects='+value+'outputtype=jpg&database=BoormanagerV2',
value, 'width=250,height=450,scrollbars=yes,resizable=yes');</FONT></DIV>
<DIV><FONT color=#000000 size=2>}</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>something like that</FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT><FONT color=#000000
size=2></FONT> </DIV>
<DIV><FONT color=#000000 size=2>(btw, below you tried to inlcude a <img into
a <a href, that certainly wont work)</FONT></DIV>
<DIV><FONT color=#000000 size=2></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=mlinden@zeelandnet.nl href="mailto:mlinden@zeelandnet.nl">Milo van
der Linden</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, October 02, 2007 6:52
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cartoweb-users] What is
smarty doing to my href!!!!</DIV>
<DIV><BR></DIV>I am one step further, it probably has to do with the fact that
I use ajax and xml, the <> signs in my code are not ajax compatible, so
I probably should use some sort of function to transfer them to html valid
characters, is there a function for that?<BR><BR>Milo van der Linden schreef:
<BLOCKQUOTE cite=mid:47026F82.6020904@zeelandnet.nl type="cite"><FONT
face="Helvetica, Arial, sans-serif">I am entering the following in a
tables.tpl <BR><BR>{capture name=some_content
assign=popText}<BR><img SRC=<A class=moz-txt-link-rfc2396E
href="http://wssoilution.bosqom.nl/Boorstaat.aspx?width=550&height=250&language=nl&layout=someBPLname&view=single&measurementobjects=%7B$value%7D&outputtype=jpg&database=BoormanagerV2"
moz-do-not-send="true">"http://wssoilution.bosqom.nl/Boorstaat.aspx?width=550&height=250&language=nl&layout=someBPLname&view=single&measurementobjects={$value}&outputtype=jpg&database=BoormanagerV2"</A>><BR>{/capture}<BR><a
href="#" {popup caption='Server Info' text=$popText}>MouseOver
Me!</a><BR><BR><BR>The href gets completely screwed up, everything
gets mixed: Firebug reports this:<BR><BR><a
boorstaat.aspx?width="550&height=250&language=nl&layout=someBPLname&view=single&measurementobjects=1-4&outputtype=jpg&database=BoormanagerV2""
wssoilution.bosqom.nl="<A class=moz-txt-link-rfc2396E href="http:="
moz-do-not-send="true">" http:="</A>" onmouseover="return overlib('<img
SRC=" href="#">\r\r',CAPTION,'Server Info');"
onmouseout="nd();">MouseOver Me!</a><BR><BR>unterminated string
literal<BR><A class=moz-txt-link-freetext
href="http://cartoweb.bosqom.nl/cartoweb3/htdocs/index.php"
moz-do-not-send="true">http://cartoweb.bosqom.nl/cartoweb3/htdocs/index.php</A><BR>Line
1<BR><BR>This problem is really messing with my mind, for a complete day
already. Is there anyone that is able to answer me?<BR><BR></FONT>
<DIV class=moz-signature>-- <BR>
<STYLE type=text/css>BODY {
        MARGIN: 5px; BACKGROUND-COLOR: #ffffff
}
BODY {
        FONT-SIZE: 12px; COLOR: #333333; FONT-FAMILY: Arial, Helvetica, sans-serif
}
TD {
        FONT-SIZE: 12px; COLOR: #333333; FONT-FAMILY: Arial, Helvetica, sans-serif
}
TH {
        FONT-SIZE: 12px; COLOR: #333333; FONT-FAMILY: Arial, Helvetica, sans-serif
}
.style4 {
        FONT-SIZE: 9px
}
.style5 {
        FONT-SIZE: 9px; COLOR: #cccccc
}
</STYLE>
<META content="MSHTML 6.00.2900.2912" name=GENERATOR><BR>
<TABLE cellSpacing=0 cellPadding=0 width=400 border=0>
<TBODY>
<TR>
<TD vAlign=bottom align=left width=15 height=0 rowSpan=3><BR></TD>
<TD vAlign=top align=left width=0 colSpan=2 height=78>
<P class=style4>Milo van der Linden <BR><A
href="skype:milovanderlinden?add" moz-do-not-send="true">skype:
milovanderlinden</A><BR><A href="mailto:mlinden@zeelandnet.nl"
moz-do-not-send="true">mlinden@zeelandnet.nl</A><BR><A
href="mailto:milovanderlinden@gmail.com"
moz-do-not-send="true">milovanderlinden@gmail.com</A><BR><A
href="mailto:milo@3dsite.nl"
moz-do-not-send="true">milo@3dsite.nl</A><BR><A
href="http://www.3dsite.nl"
moz-do-not-send="true">http://www.3dsite.nl</A><BR></P></TD>
<TD vAlign=top align=left width=15 height=0 rowSpan=3> </TD>
<TD vAlign=top width=300>
<P class=style5><SPAN lang=NL>De informatie in dit bericht reflecteert
mijn persoonlijke mening en niet die van een bedrijf of instantie. Aan
de informatie kunnen geen rechten worden ontleend. Indien dit bericht
onderdeel is van een forum, mailing-list of community dan gelden
automatisch de bij het betreffende medium behorende
voorwaarden.</SPAN> <SPAN lang=EN>The information in this message
reflects my personal opinion and not that of a company or public body.
All rights reserved.If this message is contained in a mailing-list or
community, the rights on the medium are automatically
adapted.</SPAN></P></TD></TR></TBODY></TABLE></DIV><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
Cartoweb-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</A>
<A class=moz-txt-link-freetext href="http://lists.maptools.org/mailman/listinfo/cartoweb-users">http://lists.maptools.org/mailman/listinfo/cartoweb-users</A>
</PRE></BLOCKQUOTE><BR><BR>
<DIV class=moz-signature>-- <BR>
<STYLE type=text/css>
<!--
body {
        background-color: #FFFFFF;
        margin-left: 5px;
        margin-top: 5px;
        margin-right: 5px;
        margin-bottom: 5px;
}
body,td,th {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #333333;
}
.style4 {font-size: 9px; }
.style5 {font-size: 9px; color: #CCCCCC; }
-->
</STYLE>
<META content="MSHTML 6.00.2900.2912" name=GENERATOR><BR>
<TABLE cellSpacing=0 cellPadding=0 width=400 border=0>
<TBODY>
<TR>
<TD vAlign=bottom align=left width=15 height=0 rowSpan=3><BR></TD>
<TD vAlign=top align=left width=0 colSpan=2 height=78>
<P class=style4>Milo van der Linden <BR><A
href="skype:milovanderlinden?add">skype: milovanderlinden</A><BR><A
href="mailto:mlinden@zeelandnet.nl">mlinden@zeelandnet.nl</A><BR><A
href="mailto:milovanderlinden@gmail.com">milovanderlinden@gmail.com</A><BR><A
href="mailto:milo@3dsite.nl">milo@3dsite.nl</A><BR><A
href="http://www.3dsite.nl">http://www.3dsite.nl</A><BR></P></TD>
<TD vAlign=top align=left width=15 height=0 rowSpan=3> </TD>
<TD vAlign=top width=300>
<P class=style5><SPAN lang=NL>De informatie in dit bericht reflecteert
mijn persoonlijke mening en niet die van een bedrijf of instantie. Aan
de informatie kunnen geen rechten worden ontleend. Indien dit bericht
onderdeel is van een forum, mailing-list of community dan gelden
automatisch de bij het betreffende medium behorende voorwaarden.</SPAN>
<SPAN lang=EN>The information in this message reflects my personal
opinion and not that of a company or public body. All rights reserved.If
this message is contained in a mailing-list or community, the rights on
the medium are automatically
adapted.</SPAN></P></TD></TR></TBODY></TABLE></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>