Login from outside of elgg

I am trying to figure out the script to login from a splash page example: www.mysite.com  that has ads and other info about the site. My elgg site is in www.mysite.com/elgg I want to have just a simple login that opens the site in the same window. I have searched all the groups and all login stuff is designed for the elgg index. Thanks in advance.

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking