I was able to get the page to change when the key was pressed, so I know that works. What I am trying to do now is get a shadowbox to open when the key is pressed. I am sure there is something I am missing here that is extremely simple, but I am overlooking something. I've never done this before, so have no clue how to actually accomplish it. I've looked around on Stack Overflow and google and can't really find a solid answer to how to do this.
The code is loaded at the end of the page, so I know the `<?php echo http() . $websiteurl .'/login'; ?>` works because it works with another keypress. Just wanted to clarify this to clear up any confusion. The shadowbox isn't even trying to open at all.