Hi there, I have looked at the Youtube video example as well as the example you posted but it isn't clear how to make a link appear in the book, only on the final page. So only on one page of the book. I am using css layers according to the example you mentioned, but the link appears on all pages. Please help! Here is my code. You can see that I used the code from your examples to add the css layer. I want the link to take me to "http://tonywright-art.com/" and I added that in the a href link section. Any help would be appreciated!
// Code begins below in the comment.
sorry for some reason its not showing all my code,
like this:
Thank you! How about this portion of the code below? I think it was made for deep linking not for external linking, so it doesn't work. How do I get the link to actually take you somewhere. It currently just takes me to another page, not the link I specified in the a href section.
for internal navigation: https://www.youtube.com/watch?v=t_6pISxwtBs
Is any JS needed? Do I need to chain the html, css and js together as above? Thank you for your reply!
This is what I have so far, but when I remove the javascript the links disappear. When I remove the else statement no link appears on any page. So with just the n===1. That doesn't work.
var html = [ '
Here's my new code. I removed prevent default from the javascript section and now the link works, but the n===1 doesn't work. It only works if I add the else and then have the link appear on every page.
It is waiting for 0 page initialization, because it always initializes first: