I have a drop-down that is in the middle of the document. When the drop-down shows up on the bottom of the screen, I want the drop-down to go up instead of down. When the drop-down shows up on the top of the screen, I want the drop-down to go down.
The drop-down is designed in HTML/CSS. I need the Javascript/jQuery code to make this work.
Any help will be much appreciated.
Thank you! –