<pre><font size="4">If i'm using Postgis instead of shapefiles what can i do??</font><br><br>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><A HREF='fileToLinkTo.mpg' TARGET=#>Click to view movie</A><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>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">chameleon-bounces at lists.maptools.org
</a><br>To: <a href="http://lists.maptools.org/mailman/listinfo/chameleon">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>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>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>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>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>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>