For your HTML presentation to work in the iOS app and desktop browsers, you must program using relative paths instead of absolute paths.

When you open an HTML presentation in the Mobile Locker iOS app, the app starts a local web server, using the top directory as the server's root.

It is essentially running a web server and loading this page:


When an HTML presentation is viewed on the Mobile Locker website, it runs on a CDN under a subdirectory like this:


When writing your HTML and JavaScript, it is important to use relative URLs instead of absolute URLs.

Instead of writing this:


Write it like this: