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
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.
Thank you so much for your help! You're awesome.
This topic is now closed. New replies are no longer allowed.