Reputation:
I tried adding buttons that redrict to certain pages however every time I change one button it changes all the other buttons as to where the page would navigate. This is what happens... what the script editor shows what happens to other buttons when I change just one button
Upvotes: 1
Views: 125
Reputation: 1074
The show() method needs some parameters to work.
You could try something like this:
Pages.Page2.show(4, 2, 1, false, false);
If you want to check on these parameters, go to Smartface API (http://docs.smartface.io/) and find the Page section (SMF.UI.Page), from there, find the show() method and you will see a list of it's parameters.
Hope that helps :)
Edit
Full tutorial:
Image 1
Image2
Image 3
Again, hope that helps :)
Upvotes: 1
Reputation: 77
You should add Pages.Page2.show(); just this '{}' this brackets are not required.
Upvotes: 0