I have seen two examples of handlers to Click event:<br><a href="http://openlayers.org/dev/examples/click.html">http://openlayers.org/dev/examples/click.html</a><br><a href="http://openlayers.org/dev/examples/click-handler.html">http://openlayers.org/dev/examples/click-handler.html</a><br>

<br>I think you will have to create a handler to Keyboard events also, so you can capture the Shift+Key. In fact, I think you will only need that. Try adding <br>     multipleKey: &quot;shiftKey&quot;<br>to your SelectFeature control, so you override the shift+click behaviour of Firefox.<br>

<br>Just a question: FF opens another window when you shift+click a link, i.e. &lt;a&gt; tag. Why is the &lt;a&gt; tag there on your externalGraphic in the first place??<br><br><div class="gmail_quote">On Thu, Nov 12, 2009 at 11:10 PM, Richard Eichhorn <span dir="ltr">&lt;<a href="mailto:r.eichhorn@netbi.com.au">r.eichhorn@netbi.com.au</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks for that.  I did come across that, but I couldn&#39;t figure out how to use it in the context of OpenLayers.Control.SelectFeature.   <br>

<br>There is a handlers property but I can&#39;t figure out how to use it.<br>
<br>Has anyone got an example of creating an OpenLayers.Control.SelectFeature with a handlers property defined?  <br><br>Cheers,<br>Richard.<br><br><br><br><div class="gmail_quote">2009/11/13 Pedro Baracho <span dir="ltr">&lt;<a href="mailto:pedropbaracho@gmail.com" target="_blank">pedropbaracho@gmail.com</a>&gt;</span><div>

<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I am not sure if that helps, but there is a function stop on Event class for stopping event propagation.<br>


<a href="http://dev.openlayers.org/docs/files/OpenLayers/Events-js.html#OpenLayers.Event.stop" target="_blank">http://dev.openlayers.org/docs/files/OpenLayers/Events-js.html#OpenLayers.Event.stop</a><br>

<br><div class="gmail_quote"><div><div></div><div>On Thu, Nov 12, 2009 at 5:47 AM, Richard Eichhorn <span dir="ltr">&lt;<a href="mailto:r.eichhorn@netbi.com.au" target="_blank">r.eichhorn@netbi.com.au</a>&gt;</span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>

I am using OpenLayers.Control.SelectFeature with features which are represented using an externalGraphic.  When I use do a shift-click to multi-select features in Firefox, it opens up a new window with the icon of the feature I just clicked on.<br>





<br>When writing non-openlayers javascript code I have just used preventDefault in firefox to stop the events propagating.<br><br>How can I do it in Openlayers?<br><br>Cheers,<br><font color="#888888">Richard<br clear="all">




<br><br>
</font><br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org" target="_blank">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br>
</blockquote></div></div></div><br><br clear="all"><br>-- <br>(w) 07 3124 4034<br>(m) 0414 583 411<br><br>(e) <a href="mailto:r.eichhorn@netbi.com.au" target="_blank">r.eichhorn@netbi.com.au</a><br><br>(w) <a href="http://www.netbi.com.au" target="_blank">www.netbi.com.au</a><br>


<br>(a) level 1, 50 park road milton brisbane queensland australia 4064<br><br>(p) po box 1003 new farm brisbane queensland australia 4005<br>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br>