[OpenLayers-Trac] Re: [OpenLayers] #3192: FramedCloud prevents clicks into visible parts

OpenLayers trac-20090302 at openlayers.org
Fri Apr 8 19:16:23 EDT 2011


#3192: FramedCloud prevents clicks into visible parts
-----------------------+----------------------------------------------------
 Reporter:  pebXX2346  |       Owner:              
     Type:  feature    |      Status:  new         
 Priority:  minor      |   Milestone:  2.11 Release
Component:  general    |     Version:  2.10        
 Keywords:             |       State:              
-----------------------+----------------------------------------------------

Comment(by pebXX2346):

 = Solution =
 Add this to any css:
 {{{
 .olPopup{pointer-events:none;}
 .olFramedCloudPopupContent, .olPopupCloseBox{pointer-events:auto;}

 #popup_FrameDecorationDiv_0,
 #popup_FrameDecorationDiv_1,
 #popup_FrameDecorationDiv_2,
 #popup_FrameDecorationDiv_3{pointer-events:auto;}
 #popup_FrameDecorationDiv_4{pointer-events:none;}

 }}}
 and it works in Firefox 3.6 (probably newer too).

 Since this is valid css3 other Browsers will follow.


 There is another bug, one confused id and class:[[BR]]
 id="popup_GroupDiv" etc are use for each popup:
 see Ticket #3254

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3192#comment:3>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list