We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

double function button

Home Forums Puzzles double function button

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #54793
    cralex75
    Participant

    hi, i have a hard problem that i can’t solve.
    I have created a keypad that should have a double use depending on the primary function selected.
    The function that controls multiple materials in the list overrides the second function.
    i would like to solve without duplicating ul buttons.
    Can anyone help me?

    Attachments:
    You must be logged in to view attached files.
    #54799
    kdv77kdv
    Participant

    Why do you use timers to register when clicked listeners? In your logic, once started, they do it every second and will never stop.

    Try this

    #54801
    cralex75
    Participant

    Thanks for the reply.
    i changed as you suggested, the problem persists.
    the problem is that both functions have the same link “c1.005 and c1.006” the “_models” function also surpasses that of “_fondo”

    Attachments:
    You must be logged in to view attached files.
    #54803
    kdv77kdv
    Participant

    Can you give your files?

    the problem is that both functions have the same link “c1.005 and c1.006”

    It’s not a problem. It should work with no problems…

    https://v3d.net/a3r

    #54805
    cralex75
    Participant

    thanks, i made another try, but when i add more material the commands overlap.
    the only solution I have left is to duplicate the buttons and give them different names.
    using the hide and show commands.
    thanks for your patience.

    #54806
    kdv77kdv
    Participant

    Well, if you’ve duplicated the buttons, you don’t need to register listeners for them every time you click _models or _fondo. just move them out, leave only hide/show puzzles.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.