Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Javascript event listeners in frames

Status
Not open for further replies.

Geee

Programmer
Apr 23, 2001
253
GB
I am trying to build basic web browser functionality for a device that is not a PC and has a very basic web browser built in to the device. One of the things I have done on all pages is attached an event listener to the onkeypress function in order to attach certain functions to certain keys. This works great in the menu pages.

I want to give the users the ability to browse the internet through the device, this is fine if I create an anchor to " all is well, however I still want to use the event listeners on the page. I had the idea of using an iframe or frames to do this, but I cannot get this to work. I have come to the disappointing conclusion this is probably not possible so your guys are my last gasp, how you can help, last roll of the dice hope!

Thanks in advance.

G

-Geeeeeeeeeeeeeeeeeeeeeeee-
 
Thanks for taking the time to reply. Specifically what more information do you want?

I guess the crux of the question is - is it possible to still listen for onkeypress when the user is messing about in an iframe?

-Geeeeeeeeeeeeeeeeeeeeeeee-
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top