<!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">
    I register at t0 first function and then, if operation is called, I
    must register second function too....<br>
    <br>
    I solve it with 2 same row:<br>
    <br>
    map.events.register<code>("click", map, function(e)</code>{
    callFunction1() });<br>
    map.events.register<code>("click", map, function(e)</code>{
    callFunction2() });<br>
    <br>
    It run!<br>
    <br>
    <blockquote
cite="mid:02656758FFFCDF4D9CC79BC33EBC55F8AA1A19@TD-VIRT-EX-01.geomatikk.ad"
      type="cite"> why not:<br>
      <br>
      map.events.register<code>("click", map, function(e)</code>{
      callFunction1(); callFunction2(); });<br>
      <br>
      ?<br>
      <br>
      On 03/10/2011 03:30 PM, Luca Santaniello wrote:
      <blockquote cite="mid:4D78E099.8070009@cidsoftware.it" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        Hi all, <br>
        <br>
        I need register many function to click event in different
        time... for example:<br>
        <br>
        map.events.register<code>("click", map, function(e)</code>{
        callFunction1() });<br>
        map.events.register<code>("click", map, function(e)</code>{
        callFunction2() });<br>
        <br>
        Is it possible?<br>
        <br>
        Thanks<br>
        <pre class="moz-signature" cols="72">-- 
Luca Santaniello
email: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:lsantaniello@cidsoftware.it">lsantaniello@cidsoftware.it</a> 
phone: +39 3470373994
skype: luca.santaniello
msn: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:luketto81@hotmail.com">luketto81@hotmail.com</a> </pre>
        <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a>
</pre>
      </blockquote>
      <br>
      <br>
      <pre class="moz-signature" cols="72">-- 
Atle Frenvik Sveen
Utvikler
Geomatikk IKT AS
tlf: 45 27 86 89
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:atle.frenvik.sveen@geomatikk.no">atle.frenvik.sveen@geomatikk.no</a></pre>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Luca Santaniello
email: <a class="moz-txt-link-abbreviated" href="mailto:lsantaniello@cidsoftware.it">lsantaniello@cidsoftware.it</a> 
phone: +39 3470373994
skype: luca.santaniello
msn: <a class="moz-txt-link-abbreviated" href="mailto:luketto81@hotmail.com">luketto81@hotmail.com</a> </pre>
  </body>
</html>