Select to view content in your preferred language

Floating Pane

812
1
06-27-2012 09:06 AM
demdeberanz
Emerging Contributor
Hi everybody,
   I'm using a floating pane inside the map area, I'm not able to constrain its movements in this area. For instance it can be moved mistakenly outside the map area
and user can't no longer use it because it's hided.

How can I bound the floating pane movements?

Thank you very much.
0 Kudos
1 Reply
HemingZhu
Frequent Contributor
Hi everybody,
   I'm using a floating pane inside the map area, I'm not able to constrain its movements in this area. For instance it can be moved mistakenly outside the map area
and user can't no longer use it because it's hided.

How can I bound the floating pane movements?

Thank you very much.


I think the movement of a floating pane is bound to it direct parent. Outside the direct parent is automatically hided unless you define the floating pane's moveable property. Here is an example: http://jsfiddle.net/phusick/3vTXW/
0 Kudos