I have a problem with slider it scrolls left and right when I use keyboard left and right arrow keys.
I want to disable this but I didn’t get any solution.
I am not able to upload any code because I am a new user and it shows that new user can not upload any attachments.
If you want the code then you have to save the page and then you get the code.
When you don’t select any category then keyboard left and right arrow keys are not working but when you select any category then keys are working.
If you go through this URL " http://www.pfyidev.apikdd.com/ " and then go to “Electronics” section and then select “Cameras” tab and then use keyboard left and right arrow keys then it scroll. I want to disable it.
There should be something like “Preferences”, “Settings”, “Options”
Then from there it could be something like “Accessibility”, “Keyboard”
Then there should be something like “Arrow keys for navigation”
I suggest you spend some time getting familiar with what your browser has available, but if you post what browser you’re using someone should be able to give you the exact steps needed to get to the particular setting.
I believe @Praveen_Kumar_Verma is trying to find a way to over-ride the native function of his visitors’ browsers and prevent them using the arrow keys. I’m not sure why anyone would want to do this. Preventing the normal functioning of the browser is never a good idea, and may leave visitors with the impression that the site is broken.
After some experimentation I realize that it’s not the Electronics in the nav bar, but the Electronics section of the page, and you want us to click in the categories list on the Cameras category.
From what I can gather, you want to affect the carousel, to prevent the keyboard navigation of the carousel.
Which type of carousel slider are you using there?
It does seem a particular shame to use a script which has actually been designed to be accessible for keyboarders (so many aren’t ) and then remove that accessibility.
@Praveen_Kumar_Verma: you do understand that some visitors may be unable to use a mouse and rely on keyboard navigation, don’t you?