• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

help whit link button

New Here ,
Jun 22, 2022 Jun 22, 2022

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");

}

Views

63

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 23, 2022 Jun 23, 2022

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 23, 2022 Jun 23, 2022

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

 

Sin título.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 23, 2022 Jun 23, 2022

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines