Multi page app - refrencing another page from Evothings index.html

Discuss the company and its products.
suberri
Posts: 9
Joined: 15:31, 23 Feb 2016

Multi page app - refrencing another page from Evothings index.html

Postby suberri » 01:17, 03 Mar 2016

It seems that all your examples are single page app (index.html) only.
Assuming I have an app with two pages: index.html and secondPage.html.
How do I reference the second page that in my Evothings workbench project.

For example the following line is in index.html file:

<a class="click-me" href=" What do I put here to display the secondPage.html page? ">Let's do it</a>

suberri
Posts: 9
Joined: 15:31, 23 Feb 2016

Re: Multi page app - refrencing another page from Evothings index.html

Postby suberri » 06:59, 03 Mar 2016

I found the following post https://evothings.com/develop-your-iot-app-using-ionic-framework-and-evothings-studio/
and downloaded the Ionic examples.
However all the examples are still having a single index.html page.

I did not see any example where another page is loaded using the framework.

Please advise

Thanks

alex
Posts: 92
Joined: 00:59, 19 Nov 2013

Re: Multi page app - refrencing another page from Evothings index.html

Postby alex » 22:00, 05 Mar 2016

My hunch is that it's very straight-forward; copy the index.html page and call it "another-page.html" or whatever you like.
Then add links like any page on the web, e.g.

Code: Select all

<a href="another-page.html">Go to the next page</a>
. You see, Evothings is plain html, and
if you use a specific javascript client-side framework, then follow instructions in that framework's documentation!

best

Alex


Return to “General discussion”

Who is online

Users browsing this forum: No registered users and 1 guest