473,326 Members | 2,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

How to have a key execute a link

I have these links on a page

<a href="dsc_0447.htm">[Prior]</a>
&nbsp;
<a href="dsc_0449.htm">[Next]</a>

and I would like to have the right arrow and left arrow do the same as
the links. How can I do that?

Todd
Jul 23 '05 #1
4 1422
On Sun, 17 Oct 2004 20:57:58 GMT, Todd Cary wrote:
<a href="dsc_0447.htm">[Prior]</a>
&nbsp;
<a href="dsc_0449.htm">[Next]</a>

and I would like to have the right arrow and left arrow do the same as
the links. How can I do that?


That sounds like a bad idea Todd.

First of all, let's consider what your *users* want.

If I were a user at your site and the window was too wide,
I might tap the 'right' arrow a few times to see what content
you are 'hiding' from me. It would be rather confusing if
your site then catapulted me through two or three pages.

But, I hear you say, your pages are *squeezy*, they adapt to
whatever size the user has. Good, that's a good sign, but I
would still expect the keys on my keyboard to act exactly the
way they do on every(*) other site, it would never occur to me
to hit the 'right arrow' to navigate, and I would quickly forget
if your pages told me (..like I'm there to 'learn' your site).

* Notwithstanding the sites where the developer thinks they
know my keyboard and my needs better than I do.

I ask you to reconsider even attempting this.

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
Jul 23 '05 #2
Andrew Thompson wrote:
On Sun, 17 Oct 2004 20:57:58 GMT, Todd Cary wrote:

<a href="dsc_0447.htm">[Prior]</a>
&nbsp;
<a href="dsc_0449.htm">[Next]</a>

and I would like to have the right arrow and left arrow do the same as
the links. How can I do that?

That sounds like a bad idea Todd.

First of all, let's consider what your *users* want.

If I were a user at your site and the window was too wide,
I might tap the 'right' arrow a few times to see what content
you are 'hiding' from me. It would be rather confusing if
your site then catapulted me through two or three pages.

But, I hear you say, your pages are *squeezy*, they adapt to
whatever size the user has. Good, that's a good sign, but I
would still expect the keys on my keyboard to act exactly the
way they do on every(*) other site, it would never occur to me
to hit the 'right arrow' to navigate, and I would quickly forget
if your pages told me (..like I'm there to 'learn' your site).

* Notwithstanding the sites where the developer thinks they
know my keyboard and my needs better than I do.

I ask you to reconsider even attempting this.


Andrew -

I agree! Though I do not use a Mac, I am told that all programs use the
keys the same way (or, at least close to it).

I would like to give the user a keystroke in addition to clicking with a
mouse. Do you have a suggestion?

Todd
Jul 23 '05 #3
Todd Cary wrote:
Andrew Thompson wrote:
That sounds like a bad idea Todd.

First of all, let's consider what your *users* want.

I agree! Though I do not use a Mac, I am told that all programs use the
keys the same way (or, at least close to it).


Advice is: *don't mess with the user's interface*.

If the user needs to scroll down the page to read your text, they'll
have their hand on the mouse anyway to do the scrolling. So using the
arrow key will require them to move their hand off the mouse and back
to the keyboard.

If your pages do not require scrolling and the [previous] [next]
buttons are always in the same place (top right or top left maybe), the
user has minimal movement of the mouse anyway and just one click to go
either way.

All your arrow navigation "feature" will do is make it more confusing.
It also assumes there is only one link on the page, otherwise you are
telling the user "press the arrow key to go where I want you to go, or
click a link to go where you want to go".

Maybe that's what you want, but I'd be frustrated by it. You also need
to consider those who always use the keyboard for primary navigation
and don't use a mouse - will messing with the arrow keys affect them?
Cheers, Rob.
Jul 23 '05 #4
RobG wrote:
Todd Cary wrote:
Andrew Thompson wrote:
That sounds like a bad idea Todd.

First of all, let's consider what your *users* want.

I agree! Though I do not use a Mac, I am told that all programs use
the keys the same way (or, at least close to it).

Advice is: *don't mess with the user's interface*.

If the user needs to scroll down the page to read your text, they'll
have their hand on the mouse anyway to do the scrolling. So using the
arrow key will require them to move their hand off the mouse and back
to the keyboard.

If your pages do not require scrolling and the [previous] [next]
buttons are always in the same place (top right or top left maybe), the
user has minimal movement of the mouse anyway and just one click to go
either way.

All your arrow navigation "feature" will do is make it more confusing.
It also assumes there is only one link on the page, otherwise you are
telling the user "press the arrow key to go where I want you to go, or
click a link to go where you want to go".

Maybe that's what you want, but I'd be frustrated by it. You also need
to consider those who always use the keyboard for primary navigation
and don't use a mouse - will messing with the arrow keys affect them?
Cheers, Rob.


Very good and clear points. And worth following IMHO....

Todd
Jul 23 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: rachel | last post by:
Hi all, I am new in ASP.Net. I have a question on link multiple web forms together. Here is the scenario: I create an Index.aspx WebForm which consists of a banner and three navigator...
0
by: Top Gun | last post by:
I have been finding difficulty in locating decent, in-depth information on a standard matter in the IT world... STRING FORMATTING. Particuarlly as it relates to C# (or .NET). The books I have give...
3
by: esthon wood | last post by:
Hi, can anybody give me a solution for this error: "Cannot execute Link.exe" This error occurs whenever i am compiling my program. I'm developing it under Windows XP Professional. I used to...
9
by: Kristoffer Arfvidson | last post by:
Does anybody have a link to a control that is free that looks like... You know in xp, you have a kind of a statusbar, but instead of working from one side to another, its, going side to side, like...
1
by: Jacek Jurkowski | last post by:
.... to my application setup project to run Crystal Reports correctly? It runs on my computer but not on clients. I probably have to add some Crystal Merge Module?
1
by: fuzzylollipop | last post by:
I want to do email address format validations, without turning to ANTLR or pyparsing, anyone know of a regex that is COMPLIANT with RFC 821. Most of the ones I have found from google searches are...
4
by: aljamala | last post by:
Hi, I have a link for an employee directory search page. The link (http:// xxxx/Search.aspx) works fine, however, I have another link to do an Advanced Find. and its href is...
1
by: thirunavukarasukm | last post by:
I have a link wich opens a the second page with links wich call a javascript function. I have some problem with javascript. i am two aspx page.. in my first aspx page contain the second...
4
by: Matsam | last post by:
Hi, I have a page showing the result of a search criteria. I'm using VB script. I have given link to an attached file for each record. There is also a field "Number of downloads" in my table. When...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.