I am making an app with wappler with cordova, how could I import a menu in a file for all the pages as in php include but in html?
Dave
November 27, 2020, 6:59pm
2
Could do something like:
<div data-menu-load="menu.html"></div>
Trouble is am not sure how you can bind anything dynamic to this? I did pose a question once but have since moved on, but for a basic menu should be fine unless someone can fill us in on how to make it dynamic?
Maybe someone can help an old man out…
<div class="footer" data-menu-load="menu.html"></div>
This loads the menu which is contained within a plain and simple .html page (no head or body).
The site is translated using keyed objects in the main page, lets say index.html, the question is how do we get the loaded page to translate? How do we include the necessary files within the page for translation to operate correctly? Has to be for .html as this Project is also used in a Mobile Project.
…