Im trying to open links inside an off-canvas drawer (like https://getuikit.com/docs/offcanvas).
Im doing this by linking to the #off-canvas and calling pjax via onclick script (ugly hack but its working).
However, i cant figure out how to redirect links and subpages. They should not be accessible on their own, but via pjax from the root website.
Does anyone got an idea on how to accomplish this?
I have put a redirect header on these pages to direct the user back to the root, but havent figured out how to pass the url into pjax there...
Hi there
Im trying to open links inside an off-canvas drawer (like https://getuikit.com/docs/offcanvas).
Im doing this by linking to the #off-canvas and calling pjax via onclick script (ugly hack but its working).
However, i cant figure out how to redirect links and subpages. They should not be accessible on their own, but via pjax from the root website.
Does anyone got an idea on how to accomplish this?
I have put a redirect header on these pages to direct the user back to the root, but havent figured out how to pass the url into pjax there...
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hi there
Im trying to open links inside an off-canvas drawer (like https://getuikit.com/docs/offcanvas).
Im doing this by linking to the #off-canvas and calling pjax via onclick script (ugly hack but its working).
However, i cant figure out how to redirect links and subpages. They should not be accessible on their own, but via pjax from the root website.
Does anyone got an idea on how to accomplish this?
I have put a redirect header on these pages to direct the user back to the root, but havent figured out how to pass the url into pjax there...