Hi Paul,

I was thinking about using smth like <input type="text" blabalbla
onmouseup="window.open('some_url')" /> in outlinelabel.tpl

Does this help?

Cheers,
Damien



Paul Shapley wrote:
> Hi Damien,
>  
> This seems like an easy way but i'm having problems adding the correct
> syntax to the 'onmouseup' event
>  
> I'd like to have some more details about what code needs adding to the
> '/templates/outlinelabel.tpl' in particular the event:
>  
> onmouseup= ???
>  
> and what code should be added to 'templates/dhtmlcode.tpl'
>  
> I really need to get to terms with the programming side of cartoweb!
>  
> Regards,
>  
> Paul Shapley
>  
>
>
>  
> On 10/09/2007, *Damien Corpataux* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Hi Paul,
>
>     To me, the easiest way of doing it is either
>     - override the plugins/outline/templates/outlinelabel.tpl to add
>     the event as inline html element attribute (onmouseup="blabla")
>     - attach the event on page onload, e.g. in templates/dhtmlcode.tpl
>
>     Regards,
>     Damien Corpataux
>
>
>     Paul Shapley wrote:
>>     Hello Users,
>>      
>>     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.
>>      What do i need to do to get the 'Mouse Up' function of the 'OK'
>>     confirmation button will open a web page URL form?.
>>      
>>     How do i do this, which php file has the code change?.
>>      
>>     Any help appreciated. Thank you 
>>
>>
>>     -- 
>>     Paul J. Shapley
>>     ------------------------------------------------------------------------
>>
>>     _______________________________________________
>>     Cartoweb-users mailing list
>>     [email protected] 
>> <mailto:[email protected]>
>>     http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>       
>
>
>     -- 
>     Camptocamp SA
>     Damien Corpataux
>     PSE A
>     CH-1015 Lausanne
>      
>     +41 21 619 10 22 (Direct)
>     +41 21 619 10 10 (Centrale)
>     +41 21 619 10 00 (Fax)
>      
>     P Please consider the environment
>     Do you really need to print this email?
>
>
>
>
> -- 
> Paul J. Shapley 


-- 
Camptocamp SA
Damien Corpataux
PSE A
CH-1015 Lausanne
+41 21 619 10 22 (Direct)
+41 21 619 10 10 (Centrale)
+41 21 619 10 00 (Fax)
P Please consider the environment
Do you really need to print this email?
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to