Copy link to clipboard
Copied
Hello, all. I'm trying to use some JavaScript for a project, to allow users to interact with a simple calculator, but I'm a bit stumped.
Do I need to assign JavaScript to an object for it to display, or do I simply paste code into the Script window and 'Execute JavaScript' on stage entry? Perhaps my code is faulty? Does anyone have calculator code that has worked properly?
Any help will be most appreciated.
Adam
Sure, concatenation is on my wish list since many years for Captivate advanced actions, would make it so much more powerful.
Copy link to clipboard
Copied
Not sure if this is what you want, but I wrote two articles (planned more, but they are not popular so I didn't spend time on continuing) about using Javascript in collaboration with Advanced actions for simple calculations. Have a look at:
Copy link to clipboard
Copied
Thank you. While this is helpful, my intent is to use concatenate to create the calculator display screen effect, all while storing numbers and executing expressions. I'm almost there, just a little tinkering at this point. Thanks!
Copy link to clipboard
Copied
Sure, concatenation is on my wish list since many years for Captivate advanced actions, would make it so much more powerful.