I cant find an answer to this that I understand. I want with JavaScript (not jQuery) to make it so if the with the id boxFilm is visible and I click on "SPACE" (keycode 32), the function togglep(); runs.
How do I do this? I've tried many things but haven't succeeded :(