Variables w/ Interactions

I would like to be able to use variables in my interactions and animations. For example. I am writing a navigation system, which hides and shows the screens to display them. Writing the scripts for this is a PITA, because you don't know hat screen you are currently on, so you have to have a different button set on each screen, with it's own unique scripts assigned. Using variables, you could do it with one. Combine this with a more powerful If/Else statement than is currently available, and that's rocking! It would also be cool to store data, such as the browsers history, so that you could make your own forward/back buttons

  • Sam Jordan
  • Mar 28 2019
  • Reviewed
  • Paul Seymour commented
    January 20, 2020 19:21

    I'd settle for some kind of standard math or range format just as an input anywhere... such as say timings for interactions. rnd(500, 2000) for the fade up on a class of thumbnails would be awesome, for example - each thumbnail fades in between half a second and 2 seconds. so simple. I know zero javascript, and who knows what lies behind IX2, but after an hour or so off googling, I'm no where near having a clue how to do something that the above line for timing could do for me. Oh well. I'm out of votes, too. 1 vote? #sadface

  • Hamish Maclean commented
    November 25, 2019 02:29

    Hell yeah!

  • +2