- calculator - keeping text within the box
- Posted On: September 14, 2013, at 9:23:33 AM
- Time Zone: (GMT -3:30) Newfoundland
- Topic Zone: Adobe Edge Animate,
- cruasn has asked 1 Question
- Posted By: cruasn - [Date Posted: September 14, 2013 at 09:54:59 AM] [Post ID# 30]
- This is an example of the calculator in HTML5 + CSS3 - my question relates to how to get the numbers to stay on the text box without changing - for example in the demo, when pressing 1 + 2 - each number will appear after each other, not together on the screen - how do I code so that everything appears on the screen and then when the user presses equals sign - then it changes to whatever the answer should be
- Posted By: carrzkiss - [Date Posted: September 16, 2013 at 12:34:49 PM] [Post ID# 32]
- I am trying to understand your question. Are you stating, that you are wanting this to appear. 1+1=2 You want everything written out as I have done there? What have you gotten so far? I am thinking that you would need to have (Using the 1+1=2 example) 5 text labels, once for each of the characters. This sounds like a really interesting project, one that I would like to assist you on. However, if you have a starting point, (code) we can start from there. Also. Are you making a calculator like in the link your provided? Just changing the output to display all characters instead of a single character. Also, does that calculator come with source code? Have a good one. Carrzkiss
- Posted By: cruasn - [Date Posted: September 18, 2013 at 10:49:39 AM] [Post ID# 33]
- Hi there, Yes, I wanted it to "append" the numbers so that the user could have 1+1 on the input text and then when the user wanted to get the answer would press the '=' button and then in a different area of the screen would show the output (calculation). My goal is to make a tutorial on how to use a scientific calculator for and was just starting with the basics - how to input a fraction - the file I have is here: https://dl.dropboxusercontent.com/u/89536697/sci%;20-%20calculator.zip I implemented the code that was in the video above - but then realized that I need an input area where one can put the numbers in and an output area where the calculation would take place. I'm completely new to html5/css3 so trying to understand how to implement these features. Sorry about the confusion with my question - I think the file I created will help in understanding what I'm trying to achieve. Thanks again!
- Posted By: carrzkiss - [Date Posted: September 18, 2013 at 13:09:18 PM] [Post ID# 34]
- The link to the file is a dead one. When you send a file to the dropbox, try to make sure that it does not have any spaces in the name. Once I am able to download it, I will have a look at it. I cannot promise anything, But I will try.
- Posted By: carrzkiss - [Date Posted: September 26, 2013 at 13:09:52 PM] [Post ID# 39]
- OK,you have not done anything to it yet I see. Hum, I will have to think on this one my friend. I have a few other questions that I am getting ready to work on in front of this one. Once I get them done, I will look in on your project.
- Posted By: carrzkiss - [Date Posted: March 05, 2016 at 22:53:13 PM] [Post ID# 98]
- Hello cruasn I just wanted to check in and see if you could come in, and close this question out. We were having some issues with the mail system when you came on here back then, and I guess you never got the last message that I sent out. Either way, if you could close this one out, that would be awesome. And since it was so long ago, just choose yourself as answer. Carrzkiss