Page 1 of 1

Aris exit to map from plaque

Posted: Mon Nov 26, 2018 12:49 pm
by dimmark
Good evening,

i have read the post
viewtopic.php?f=3&t=40

but i still cannot use ARIS.exitToTab('Map') to navigate to map tab when button "continue" is pressed.

The javascript code that i use in text field of a plaque is

<script type="text/javascript">
var ARIS = {};
ARIS.ready = function() {

ARIS.hook = function()
{
ARIS.exitToTab('Map');

}

}
</script>

and the name of tab is Map.

If I use the function ARIS.exitGame() instead of ARIS.exitToTab('Map') it works properly.

Can you tell mw what am i doing wrong??

Thank you

Re: Aris exit to map from plaque

Posted: Fri Feb 08, 2019 5:31 pm
by chrish
In the example I posted in the other thread I only notice one difference. In mine it is "MAP" all capitals. I can't check in game just now, but that may be worth a try in case that's the difference.

Re: Aris exit to map from plaque

Posted: Tue Mar 05, 2019 4:43 pm
by dimmark
Thanks, the problem solved!! :D