- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hello,
I am having 2 problems with my generated app, the first one is that I cannot find a way to build a "back button" in my header, I am currently using bootstrap. I have found some threads in this forum where some guys posted pictures of a tick box "back button" but I just cannot find it in the Intel sdk gui.
My second problem is how to create a proper "exit" button that completely stop the app rather than using the Android "home" button to come out of the app, as I have noticed that the app still runs in the background.
Thank you,
Ben
- Tags:
- HTML5
- Intel® XDK
Link kopiert
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
By default, bootstrap is doesn't provide a back button in the standard header of the UI framework. You can add a back button to the header by dragging a button on the desired page's header and updating the Trigger's action to the previous page manually in the drop down menu.
It is not possible to terminate an app programmatically using JavaScript or a plugin.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Hi Ben,
If you did as Elroy suggested, you may use this code to return to previous page:
parent.history.back();
Because if you call the page from different places, a fixed page to the button is not the same as back.
It works in my Bootstrap projects.
Regards,
Diego
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Thank you to both of you!
I will add this little js code then, thanks again.
Ben

- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite