My question may be a bit unclear, but I want to generate dynamic URLs that redirect users to specific pages based on the link clicked. For example:
- Parent page with links (a, b, c, x, y)
- User clicks on 'b'
- User is taken to a Node Page that plays a video and then automatically redirects to Page 'b' (using JS to simulate click)
Is there a way for the Node Page to detect which link was clicked on the parent page and direct the user accordingly? See Image below - https://i.sstatic.net/sJZdD.png
I have already implemented a script on the Node Page that automatically progresses to the next page after 15.5 seconds:
<script>
$("document").ready(function() {
setTimeout(function() {
$(".proceed").trigger('click');
},15500);
});
</script>
I would like to know if the Node Page can determine the next destination based on the link clicked on the parent page.
This HTML package will be used on an e-detailing platform running on iOS for iPad, supporting HTML, CSS & JS/jQuery.
Thank you in advance!