Help with PreferencesTable

Discussion in 'Jiggy Runtime Development' started by Ryan, May 5, 2008.

  1. Ryan

    Ryan Well-Known Member

    Joined:
    Jan 19, 2008
    Messages:
    4,129
    Likes Received:
    28
    Device:
    Nexus 4
    Ok, i fixed the original problem i had. And have got the table working.

    However, now i need to do something else.


    Here is basicly what i need it to do.

    When you select an answer:

    Please Register or Log in to view images



    I want it so that you click the "CONFIRM" button in the bottom left and a popup box appears and asks you if you are sure you want to pick this answer. Then if you click yes. I want it to somehow check to see if it is the right answer and then if it is, take you to the next page. and if not, take you back to the start.

    I tryed this... but it didnt work lol

    var confirmm
    {
    if (UIPreferencesTableCell.title == "Runescape");
    {
    do something
    }
    else
    {
    do something else
    }
    }
    Thank you

    Please Register or Log in to view images

  2. shuffle

    shuffle Member

    Joined:
    Dec 26, 2007
    Messages:
    458
    Likes Received:
    6
    Device:
    2G iPod touch
    Instead of making it a variable, just make it a function

    Code:
    function confirm(){ 
    code to execute here
    };
    and then just do confirm();

    For the prefs table, do you do like "if (button == 1){ stuff };" or something else?
  3. Ryan

    Ryan Well-Known Member

    Joined:
    Jan 19, 2008
    Messages:
    4,129
    Likes Received:
    28
    Device:
    Nexus 4
    thanks im going to bed now but i will try this 2morrow

    Please Register or Log in to view images

    thanks again

    oh and i managed to work out how to navigate around

    Please Register or Log in to view images

    i am using include. However it dosnt look that good. any way of adding transition to it?

Share This Page