Hello,
I would like to add some more options to my plugin.
I need to get values of next and previous images links available in the keyboardnav-extended.php plugin.
I can declare
global $precedant; // for nexturl
global $suivant; // For prevurl
but I cannot declare those variables as global in keyboardnav-extended.php
Links I want to get in my plugin are in keyboardnav-extended.php plugin :
document.location.href = '<?php echo htmlspecialchars_decode($nexturl); ?>';
document.location.href = '<?php echo htmlspecialchars_decode($prevurl); ?>';
I will then be able to use the joystick of a vr headset to navigate easily !
(I use a-frame, It does use my right controller with plain text links
https://aframe.io/docs/1.6.0/introduction/ )