Skip to content

Instantly share code, notes, and snippets.

@nocodesupplyco
Created December 19, 2022 16:30
Show Gist options
  • Save nocodesupplyco/bd0ab19bf677ea8158cecb597cdc708d to your computer and use it in GitHub Desktop.
Save nocodesupplyco/bd0ab19bf677ea8158cecb597cdc708d to your computer and use it in GitHub Desktop.
Webflow Slider Navigate w/ Arrow Keys
$(document).on("keyup", function (event) {
if (event.which === 37) {
$(" .w-slider-arrow-left").trigger("tap");
} else if (event.which === 39) {
$(".w-slider-arrow-right").trigger("tap");
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment