[solved] Focusing on an iFrame without hitting anything.
Posted: Sun Jan 03, 2010 11:05 am
I have a page that has an iframe on it, and I let the user use the keyboard to select various movement styles. (right arrow key moves their character to the right) This great, but they have to actually focus on the iFrame by clicking on something. I've seen javascript that will focus on the iFrame but you need to click a link to actually focus in.
In summary, the problem is that they will be taken to another page at times, then will come back, but they can't move with the arrow keys until they click random white space in the iframe itself.
In summary, the problem is that they will be taken to another page at times, then will come back, but they can't move with the arrow keys until they click random white space in the iframe itself.