<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Paul,<br>
<br>
I was thinking about using smth like <input type="text" blabalbla
onmouseup="window.open('some_url')" /> in outlinelabel.tpl<br>
<br>
Does this help?<br>
<br>
Cheers,<br>
Damien<br>
<br>
<br>
<br>
Paul Shapley wrote:
<blockquote
cite="midcb29e34f0709200121r711732cag9a14d6a2f4d6f21e@mail.gmail.com"
type="cite">
<div>Hi Damien,</div>
<div> </div>
<div>This seems like an easy way but i'm having problems adding the
correct syntax to the 'onmouseup' event</div>
<div> </div>
<div>I'd like to have some more details about what code needs adding
to the '/templates/outlinelabel.tpl' in particular the event:</div>
<div> </div>
<div>onmouseup= ???</div>
<div> </div>
<div>and what code should be added to 'templates/dhtmlcode.tpl'</div>
<div> </div>
<div>I really need to get to terms with the programming side of
cartoweb!</div>
<div> </div>
<div>Regards,</div>
<div> </div>
<div>Paul Shapley</div>
<div> </div>
<div><br>
<br>
</div>
<div><span class="gmail_quote">On 10/09/2007, <b
class="gmail_sendername">Damien Corpataux</b> <<a
href="mailto:damien.corpataux@camptocamp.com">damien.corpataux@camptocamp.com</a>>
wrote:</span>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">Hi Paul,<br>
<br>
To me, the easiest way of doing it is either<br>
- override the plugins/outline/templates/outlinelabel.tpl to add the
event as inline html element attribute (onmouseup="blabla")
<br>
- attach the event on page onload, e.g. in templates/dhtmlcode.tpl<br>
<br>
Regards,<br>
Damien Corpataux<br>
<br>
<br>
Paul Shapley wrote:
<blockquote
cite="http://midcb29e34f0709100309j524beccera20fab774e698cdc@mail.gmail.com"
type="cite">
<div><span class="e" id="q_114ef162e8c6a82c_1">
<div>Hello Users,</div>
<div> </div>
<div>Cartoweb has a really nice function that when you create a
polygon/point etc it requests a label then an 'OK' to confirm the label.</div>
<div> What do i need to do to get the 'Mouse Up' function of the
'OK' confirmation button will open a web page URL form?.</div>
<div> </div>
<div>How do i do this, which php file has the code change?.</div>
<div> </div>
<div>Any help appreciated. Thank you </div>
<div><br clear="all">
<br>
-- <br>
Paul J. Shapley </div>
</span></div>
<pre><hr size="4" width="90%">
_______________________________________________
Cartoweb-users mailing list
<a onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Cartoweb-users@lists.maptools.org" target="_blank">Cartoweb-users@lists.maptools.org</a>
<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>
</pre>
</blockquote>
<br>
<br>
<div>-- <br>
<div>
<div><span style="font-weight: bold;">Camptocamp SA</span><br>
Damien Corpataux<br>
PSE A<br>
CH-1015 Lausanne<br>
</div>
<div>+41 21 619 10 22 <span>(Direct)</span><br>
+41 21 619 10 10 <span>(Centrale)</span><br>
+41 21 619 10 00 <span>(Fax)</span><br>
</div>
<div style="color: rgb(102, 204, 102);"><span
style="font-size: 24pt; font-family: Webdings;">P</span> <span>Please
consider the environment <br>
Do you really need to print this email?</span> </div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Paul J. Shapley </blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<style>
<!--
.signature {
font-family:verdana,helvetica,sans-serif;
font-size:0.8em;
line-height: 1.25em;
color: #9999BB;
width: 27em;
}
.signature div {
padding: 0.22em;
margin-bottom: 0.5em;
margin-top: 0.5em;
border-bottom: 1px dotted lightgray;
background-color: #FCFCFF;
}
.signature .attention {
background-color: #FFFAFA;
color: #FFBBBB;
font-size: 0.8em;
font-weight: bold;
}
.header {
}
-->
</style>
<div class="signature">
<div> <span style="font-weight: bold;">Camptocamp SA</span><br>
Damien Corpataux<br>
PSE A<br>
CH-1015 Lausanne<br>
</div>
<div> +41 21 619 10 22 <span class="header">(Direct)</span><br>
+41 21 619 10 10 <span class="header">(Centrale)</span><br>
+41 21 619 10 00 <span class="header">(Fax)</span><br>
</div>
<div style="color: rgb(102, 204, 102);"> <span
style="position: relative; top: -3px; font-family: Webdings; font-size: 24pt;">P</span>
<span style="">Please consider the environment <br>
Do you really need to print this email?</span>
</div>
</div>
</div>
</body>
</html>