| 1 |
<!-- |
| 2 |
Copyright 2017 The Closure Library Authors. All Rights Reserved. |
| 3 |
|
| 4 |
Use of this source code is governed by the Apache License, Version 2.0. |
| 5 |
See the COPYING file for details. |
| 6 |
--> |
| 7 |
<style> |
| 8 |
#moveOffscreenPopupDiv { |
| 9 |
position: absolute; |
| 10 |
width: 300px; |
| 11 |
height: 300px; |
| 12 |
top: -1000px; |
| 13 |
} |
| 14 |
</style> |
| 15 |
<div id="commonAncestor"> |
| 16 |
<div id="targetDiv"> |
| 17 |
Mouse and key target |
| 18 |
</div> |
| 19 |
<div id="partnerDiv"> |
| 20 |
Auto-hide partner |
| 21 |
</div> |
| 22 |
<div id="popupDiv" style="visibility:hidden"> |
| 23 |
Popup Contents Here. |
| 24 |
</div> |
| 25 |
<div id="moveOffscreenPopupDiv"> |
| 26 |
Move offscreen popup contents here. |
| 27 |
</div> |
| 28 |
</div> |