powerfulknow — 2013-01-09T10:58:30-05:00 — #1
I'm having a strange problem. The space bar does not work when typing in my sites comment field.
Can anybody give me advice as to where I can look for the problem? Thanks in advance.
Here's the site: http://copyandmailetc.com/?p=216
pullo — 2013-01-09T17:06:46-05:00 — #2
On line 641 of your page you have the following code:
nextSlide = ActSlide-1;
prevSlide = ActSlide+1;
In this line:
32 is the keycode for the space bar.
return false; two lines later is what is preventing anything from happening when you press it.
Whilst it is important to not neglect keyboard users (for example when you have a proper image gallery), in this case I'm not sure that this extra functionality is warranted.
The easiest thing might be to just remove it.
powerfulknow — 2013-01-10T10:18:18-05:00 — #3
Thank you so much for your help! You're awesome.
system — 2014-10-07T23:30:59-04:00 — #4
This topic is now closed. New replies are no longer allowed.