jamiewaese / ePlant

ePlant is a data visualization tool for integrating and exploring multiple levels of biological data.
MIT License
2 stars 1 forks source link

Adjust annotation popup placement if too close to edge of browser window #15

Closed jamiewaese closed 11 years ago

yuzhenmi commented 11 years ago

OK. Note to self: place popup to the left near the right edge, place popup to the top near the bottom edge.

yuzhenmi commented 11 years ago

Popup is placed to the right if it is located in the left half of the screen, and left if located in the right half. I am disregarding vertical positioning because it doesn't seem like much of an issue.

jamiewaese commented 11 years ago

Terrific!

On 2013-10-12, at 2:48 PM, Hans Yu notifications@github.com wrote:

Popup is placed to the right if it is located in the left half of the screen, and left if located in the right half. I am disregarding vertical positioning because it doesn't seem like much of an issue.

— Reply to this email directly or view it on GitHub.