Claudio
Posts: 0
Joined: Thu May 31, 2012 9:29 pm

Tiggr.navigateTo() parameters

Hi,
I saw in some your answers that I can use the Tiggr.navigateTo() javascript API to navigate via custom javascript to another screen.
In your code you use two parameters like

Tiggr.navigateTo('mainScreen',"ajax");

but in the doc, this method has only one parameter
http://tiggzi.com/api/symbols/Tiggr.h...

My question is: which are the values I can use as second parameter?

Thanks

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Tiggr.navigateTo() parameters

The second parameter, if present (can be any value), indicates that Ajax navigation should be used. The API will be updated.

Claudio
Posts: 0
Joined: Thu May 31, 2012 9:29 pm

Tiggr.navigateTo() parameters

Thanks Max,
is there a way to set up a transiction mode using that API?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Tiggr.navigateTo() parameters

Transactions are not part of this API.

Chris2656882
Posts: 0
Joined: Fri May 11, 2012 3:47 pm

Tiggr.navigateTo() parameters

When I include "ajax" as the second parameter, the script fails.

With only the page name as a parameter, it does a full page refresh. How do I prevent that from happening?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Tiggr.navigateTo() parameters

I tried this:

Tiggzi.navigateTo('mobilescreen2', 'ajax');

and it worked. Check if you get any errors in the console.

Return to “Issues”