Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Trigger keydown only once if i hold keyboard arrows down.

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #251235
    kevinhaaboja
    Participant

    Hey, lately i have been trying to change my code so it would trigger keydown only once instead of sending multiple signals out.

    original code

    http://codepen.io/in2d/pen/ZLMrqK

    here i tryed to modify my code.

    http://codepen.io/in2d/pen/YNOeJd

    #251238
    Beverleyh
    Participant

    Should there be a question in there? I think we might need some clarification.

    It might help if you provide a demo that illustrates the undesirable behaviour, along with a description that puts it all into context.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.