Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
which is better in mobione:
1. making > 20 pages each with it own html widget
or
2. 1 page having an html widget and dynamically change its the content via javascript
Dynamic pages will probably keep the size of the final file down, though it may depend on the final pages, but Im not sure if there is any real benefit of one over the other. Dynamic may also make it easier to work with, as you dont have 20 mobi files to edit.
I would like to hear from support on this as it is a really good question.
ok when i make a single page with an html widget and dynamically change the content, the code in the xx_custom.js will be very very long so how can i write the html code in separate files and then dynamically import one of them each time needed? or is there a way to add a file as an extension to the custom.js just to keep all the html code in?
another question:
if i decided to make a multiple pages with static html content in each, what is the size of a page would be?
You can follow this tutorial, but instead of using a remote file just call a local html file into the HTML widget. This way you dont need a bunch of code in the custom.js and you can more easily manage and edit the content.