View Single Post
  #15  
Old 4th June 2018, 12:28 AM
sc@ry's Avatar
sc@ry sc@ry is offline
#1 Tech Boy Siege
 
Join Date: Jul 2008
Location: Djibouti
Total Awards: 6
You're Appreciated! RWP Podcast Rarity Chatterbox INFECTED - B1K1 
Dude what!? How did I miss this. This looks incredible.

EDIT: Your website desperately needs arrow key navigation. Here, have some code.

Code:
document.onkeydown = function (e) {
    e = e || window.event;

    if (e.keyCode == '37') {
	var el = document.querySelector('.previous-button');
	el.click();
    }
    else if (e.keyCode == '39') {
	var el = document.querySelector('.next-button');
	el.click();
    }
}
__________________
"Immigration is illegal" -YellowKazooie

Last edited by sc@ry; 4th June 2018 at 12:41 AM.
Reply With Quote