nash
10-21-2003, 02:30 PM
Well, I'm still a newbie at JS and I couldn't find the information on the "onkeydown" function that I was looking for...
Here's my question:
Is it possible, using the "onkeydown" function to code a page so that when the visitor hits "A" it opens page A, "B" page B, etc?
If yes, how?
I'll give you more information: I've got a pop-up on my site that looks like an MS-DOS application and there's links on the page called (O)PEN , (C)LOSE , (P)RINT , E(X)IT... I would like that hitting "O" really opens a new page, hitting "C" link to the first page, hitting "P" actuallu prints the page and hitting "X" closes the window...
Thanx for your help!
Here's my question:
Is it possible, using the "onkeydown" function to code a page so that when the visitor hits "A" it opens page A, "B" page B, etc?
If yes, how?
I'll give you more information: I've got a pop-up on my site that looks like an MS-DOS application and there's links on the page called (O)PEN , (C)LOSE , (P)RINT , E(X)IT... I would like that hitting "O" really opens a new page, hitting "C" link to the first page, hitting "P" actuallu prints the page and hitting "X" closes the window...
Thanx for your help!