<div id="mb_0"><div><pre><font size="4">If i'm using Postgis instead of shapefiles what can i do??<br><br>i've added a column with links with this structure </font>&lt;A HREF='fileToLinkTo.mpg' TARGET=#&gt;Click to view movie&lt;/A&gt; 
<br><br><br>but when i click on the link i go to ----&gt; <font size="4"><a href="http://localhost/chameleon/widgets/Query/">http://localhost/chameleon/widgets/Query/</a><span style="font-family: monospace;">mylink and not to 
<a href="http://mylink">http://mylink</a><br><br><br></span></font>Jennifer,<br><br>If you are using shapefiles, you should be able to put the links in the attributes.<br>The attribute would be a string, of the form:<br><br>
<br>&lt;A HREF='fileToLinkTo.mpg' TARGET=#&gt;Click to view movie&lt;/A&gt;<br><br>If you are using excel, you can use the concatenate function to have a fixed beginning of the string, vary the link and the name, and have a fixed ending. Concatenate them, and place it in one cell, then save to DBF. That is the easiest way to automate it.
<br><br><br>This should work, because we did it ourselves too.<br><br>regards,<br><br>Jacob<br><br><br><br><br>-----Original Message-----<br>From: <a href="http://lists.maptools.org/mailman/listinfo/chameleon" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
chameleon-bounces at lists.maptools.org<br></a><br>To: <a href="http://lists.maptools.org/mailman/listinfo/chameleon" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">chameleon at lists.maptools.org</a>
<br>Sent: 2/11/2005 11:18 AM<br>Subject: [Chameleon] widget within a widget<br><br>Hello-<br><br>Thank you, Paul, for the tips.  I'll try to better explain what it is<br><br>I want to do.<br><br>I would like to be able to offer a link to another website from within
<br>the pop-up query window.  (E.g. A user would select the query tool,<br>click on a point, which has standard attributes displayed in the query<br><br>window but is also associated with an online movie or an online<br>database.)  But I would like the link to appear associated with the
<br>query result or layer to which it applies (perhaps in an additional<br>result cell or in the same bar as the layer title).  Ideally, clicking<br><br>on this link in the query window will open the specified URL in<br>another browser window.
<br><br>Since widgets can't really be embedded within one another, I am<br>guessing the Query widget will need to be further modified.  A<br><br>colleague of mine and I modified it already to show a photo in the<br>bottom of the query window, the title of which is specified in the dbf
<br>file for the layer.  My first thought was to somehow build on this<br>functionality (using the dbf to hold the URLs), but it appears to be a<br><br>much more complicated task.<br><br>Several colleagues are helping me to figure this one out and we would
<br>really appreciate any direction you could offer.  Thank you much!<br><br>Jennifer Zeisloft</pre>

</div></div>