Reply to Re: Scrolling with keyboard keys immediately after page loads

Your name:

Reply:


Posted by Jake on 10/01/05 16:46

In message <1128167276.618856.263470@z14g2000cwz.googlegroups.com>,
wylbur37 <wylbur37nospam@yahoo.com> writes
>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?

Because you're still focused on the frame with the link you clicked on.
All you've done is load some content into a named frame; focus doesn't
move from that frame unless you move it e.g. use F6 key (Internet
Explorer) or click the mouse in the frame.


> 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?

No. Not that I know of.

>
>Is this a matter of finding the correct browser setting,
>or is it done by HTML code? or both?
>
It's working as it should.

>...
>
Regards.

--
Jake (jake@gododdin.demon.co.uk -- just a 'spam trap' mail address)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация