|
Posted by wylbur37 on 10/01/05 14:47
I'm trying to implement a typical webpage with a sidebar menu on the
left side and a "main" display window to the right of it. When any of
the links on the sidebar are clicked, the corresponding page opens in
the "main" window.
This is typically done using FRAMEs.
The control page looks something like this ...
<FRAMESET COLS="15%,*">
<FRAME NAME="sidebar" SRC="menu.HTM">
<FRAME NAME="main" SRC="intro.HTM">
</FRAMESET>
The links in "menu.HTM" would look something like this ...
<a HREF="page1.htm" target="main">Page One</a>
(Notice that I'm using local web pages for simplicity).
Anyway, I discovered that as soon as the page for the link that's
clicked loads in the "main" frame window, if the contents is longer
than the height of the frame window and I need to scroll, I can *NOT*
immediately use the PgUp, PgDn, Up-Arrow or Down-Arrow keys on the
keyboard. I must first click the mouse arrow somewhere in the "main"
frame window, and only then will I be able to use the PgUp, PgDn,
Up-Arrow or Down-Arrow keys on the keyboard to scroll.
Why is this? Is there a way to specify that as soon as a page loads in
the "main" frame window, I should be able to *immediately* use the
PgUp, PgDn, Up-Arrow or Down-Arrow keys on the keyboard, *without*
having to first click the mouse arrow somewhere in the "main" frame
window?
Is this a matter of finding the correct browser setting,
or is it done by HTML code? or both?
....
Navigation:
[Reply to this message]
|