Connecting Tech Pros Worldwide Forums | Help | Site Map

creating a web keyboard for data entry within IFRAME

Jason
Guest
 
Posts: n/a
#1: Jul 20 '05
so i'm loading an external web page (i.e. google.com, espn.com) into
an IFRAME on top of a web application we have running in IE running on
a kiosk. the kiosk is only a touch screen and has no hardware
keyboard.

i'm looking to create a software keyboard that can be requested by a
click on our web application (a web page for all intents and
purposes). the windows accessibility keyboard would be ok, but when
opened from the browser you get the 'confirm opening an exe' dialog,
which ain't cool. so next i was hoping make an html/flash keyboard
which would talk to the forms within the IFRAME via a javascript
layer. however i later found that javascript is not permitted to
access the contents of a document within an IFRAME loaded from an
external web site. so there is no way for javascript to directly
modify the text values of the form elements.

so now i'm stuck....i'm limited to solutions above the IFRAME
level...is there a way to programmatically mimic a keypress and send
it to the browser from within the browser? any other ideas?

any help would be greatly appreciated...
thanks

j

Lasse Reichstein Nielsen
Guest
 
Posts: n/a
#2: Jul 20 '05

re: creating a web keyboard for data entry within IFRAME


me@jasonaminto.com (Jason) writes:
[color=blue]
> i'm looking to create a software keyboard that can be requested by a
> click on our web application (a web page for all intents and
> purposes).[/color]
....[color=blue]
> however i later found that javascript is not permitted to
> access the contents of a document within an IFRAME loaded from an
> external web site.[/color]

Try looking into HTML-applications
<URL:http://www.google.com/search?q=html+application&btnI=I%27m+Feeling+Lucky >
In these, scripts have extended permissions.

/L
--
Lasse Reichstein Nielsen - lrn@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'
Closed Thread


Similar JavaScript / Ajax / DHTML bytes