claviska/jquery-selectBox — pull request #63 by acdvorak (2012-02-12 21:07:07+00:00)
Title: Reposition dropdown menu when hidden from view

Hi Cory,

First of all, great plugin! I'm a big fan.

Just made a few tweaks so that dropdown menus don't get cut off if they are near the bottom of their offset-parent container. There's an example in _index.html_ that demonstrates a scenario where the dropdown menu would otherwise be partially hidden from view. (The slide effect will need to be updated so that it slides **up** when opening and slides **down** when closing in the aforementioned scenario.)

I also added _beforeopen_, _open_, _beforeclose_, and _close_ events in case anybody needs to listen for them.

I would love to help contribute to your project. Please let me know if I can be of assistance!

Thanks!

-- Andy