|
Posted by 221713540Stephen Mozyra on 10/02/05 23:28
Hello, wylbur37!
You wrote on 1 Oct 2005 04:47:56 -0700:
[Sorry, skipped]
w> Why is this? Is there a way to specify that as soon as a page loads
w> in the "main" frame window, I should be able to *immediately* use the
w> PgUp, PgDn, Up-Arrow or Down-Arrow keys on the keyboard, *without*
w> having to first click the mouse arrow somewhere in the "main" frame
w> window?
[Sorry, skipped]
Try to use javascript. Maybe, OnLoad even for BODY in main frame. For
example:
....
<body onLoad="document.focus()">
....
There is a method focus() for body element, but it's not working in myIE.
So, you should try something more complex:
....
<body onLoad="document.getElementById('firstLink').focus()">
<a href="..." id="firstLink">This is a first link in your main page, or
it may be image, or smth else?</a>
....
// WBR, Stephen Mozyra
// SM17-UANIC, http://cave.no-ip.biz
Navigation:
[Reply to this message]
|