Copy link to clipboard
Copied
I have two projects with navigation buttons, when I click on the next button from the last frame of the first project it takes me to the first frame of the next project, how can I make the button before from the second project take me back to the final frame of the first project?
this.prevButton.addEventListener("click", fl_ClickToGoToWebPage_1);
function fl_ClickToGoToWebPage_1() {
window.open("../3 _Como_ocurre", "_self");
}
Copy link to clipboard
Copied
that should work if your first project publishes index.html in a 3_Como_ocurre folder that has the same parent folder that contains your 2nd project.
but i'm doubtful you understand all that. what's the code for your next button and does it work?
Copy link to clipboard
Copied
of course, both projects are exported with index.html, my problem is to fix that the preview button takes me to the last frame of the first project and not the first
Copy link to clipboard
Copied
append a query string to your 2nd project's index.html and use it in the 1st project to determine whether to goto the last frame.