<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=523392323-17052006><FONT face=Arial
color=#0000ff size=2>Make sure the link is as you want it. E.g. relative to the
query folder, (e.g. '../../whatever.mpg') or absolute (e.g.
'http://yourserver/whatever.mpg'). Whether it is postgis or shapefile makes no
difference.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=523392323-17052006></SPAN> </DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> chameleon-bounces@lists.maptools.org
[mailto:chameleon-bounces@lists.maptools.org] <B>On Behalf Of </B>listserver
server<BR><B>Sent:</B> 17 May 2006 22:05<BR><B>To:</B>
chameleon@lists.maptools.org<BR><B>Subject:</B> [Chameleon] Link on Query
result<BR></FONT><BR></DIV>
<DIV></DIV>
<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><A HREF='fileToLinkTo.mpg' TARGET=#>Click to view movie</A>
<BR><BR><BR>but when i click on the link i go to ----> <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><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><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 onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.maptools.org/mailman/listinfo/chameleon" target=_blank>
chameleon-bounces at lists.maptools.org<BR></A><BR>To: <A onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.maptools.org/mailman/listinfo/chameleon" target=_blank>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></BLOCKQUOTE></BODY></HTML>