basic web calculator
Posted: Thu Oct 13, 2016 10:01 pm
Hi,
I would like to create a basic web calculator using nL.
I would like to display three images which correspond to three different values (say 1, 2 and 3).
I would like to display a running total as the images are clicked on.
So, I would start with the value of 0.
I click on the first image (which has a value of 1), and the total updates to 1.
Then I click on the second image (which has a value of 2), and the total updates to 3.
Then I click on the third image (which has a value of 3), and the total updates to 6.
Then I click on the second image again, and the total updates to 8.
Etc..
And then I have a buton to clear.
Would anyone have pointers to get me going in the right place?
Specifically:
Do I need to use a web form to do this?
Do I need to use cookies or can I do this without cookies?
Thanks very much for any help to get me going in the right direction! :0)
I would like to create a basic web calculator using nL.
I would like to display three images which correspond to three different values (say 1, 2 and 3).
I would like to display a running total as the images are clicked on.
So, I would start with the value of 0.
I click on the first image (which has a value of 1), and the total updates to 1.
Then I click on the second image (which has a value of 2), and the total updates to 3.
Then I click on the third image (which has a value of 3), and the total updates to 6.
Then I click on the second image again, and the total updates to 8.
Etc..
And then I have a buton to clear.
Would anyone have pointers to get me going in the right place?
Specifically:
Do I need to use a web form to do this?
Do I need to use cookies or can I do this without cookies?
Thanks very much for any help to get me going in the right direction! :0)