Shirenseru said the following on 5/11/2006 5:29 AM:[color=blue]
> Hi,
>
> I recently saw on a website, that there was a possibility that when
> you're on a certain webpage,
>
> and you type like " code " on your keyboard, that some function is
> being called.
> Does anyone has experience with this?[/color]
onkeydown/up on the window object.
[color=blue]
> Cause i would really like some help..
>
> I would like on a page, when typing " admin " that your current window
> is being redirected to another page.[/color]
That's counter-intuitive.
[color=blue]
> Like i have my html page. i type " google " and suddently i'm
> redirected to
www.google.com. The thing is, you don't see what you
> type. Thats the whole idea behind this.[/color]
And if you type it wrong?
--
Randy
comp.lang.javascript FAQ -
http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/