Aris exit to map from plaque
  • dimmark
    Posts: 3
    Joined: Mon Nov 26, 2018 12:43 pm

    Aris exit to map from plaque

    by dimmark » Mon Nov 26, 2018 12:49 pm

    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
  • User avatar
    chrish
    Posts: 271
    Joined: Mon Oct 10, 2016 5:45 pm
    Location: Albuquerque, NM
    Contact:

    Re: Aris exit to map from plaque

    by chrish » Fri Feb 08, 2019 5:31 pm

    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.
  • dimmark
    Posts: 3
    Joined: Mon Nov 26, 2018 12:43 pm

    Re: Aris exit to map from plaque

    by dimmark » Tue Mar 05, 2019 4:43 pm

    Thanks, the problem solved!! :D