This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2004 > a question so simple it wears little pink booties





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author a question so simple it wears little pink booties
wadds

2004-08-13, 12:15 pm

hi

first of all thanks for all help i have had from you folks in the past. With
my dream weaver missing manual I can pretty much get around the new OS X
dreamweaver.

Now the pink bootie question: I would really like to make my photo album pages
more fun to use by allowing visitors to move to the next slide by pressing
either the right arrow key (or space bar if there is some problem with
compatible keyboards. ) I think I have seen this done before, but I am not
sure. Is it doable?

Thanks for any generous help.

http://www.waddo.net/

Keith

wadds

2004-08-13, 12:16 pm

sorry for the bump.

no one knows?

www.waddo.net


keith
cmbergin

2004-08-13, 12:16 pm

You can do it, but it won't be 100% reliable.

I don't know all the specifics, but you basically have to "capture" the key
press with JavaScript and process it accordingly. Here are some links which
may help you:

http://www.web-wise-wizard.com/java...pture-key-press
es.html
http://www.iboost.com/build/program...utorial/888.htm

You can probably look up the values for the arrow keys in an ASCII table or
something. Or, if it would be the same to you, it'd be more reliable to just
use the "b" and "n" keys for "back" and "next" (and they're conveniently next
to each other on the keyboard).

Mick White

2004-08-13, 7:16 pm



cmbergin wrote:

> You can do it, but it won't be 100% reliable.
>
> I don't know all the specifics, but you basically have to "capture" the key
> press with JavaScript and process it accordingly. Here are some links which
> may help you:
>
> http://www.web-wise-wizard.com/java...pture-key-press
> es.html
> http://www.iboost.com/build/program...utorial/888.htm
>
> You can probably look up the values for the arrow keys in an ASCII table


The arrow keys are not necessarily capturable, and the Ascii value may
differ from browser to browser.
Mick
or
> something. Or, if it would be the same to you, it'd be more reliable to just
> use the "b" and "n" keys for "back" and "next" (and they're conveniently next
> to each other on the keyboard).
>

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews