Thanks for the response. I was trying to get things sorted out as I wasn't getting the results I expected from methods I was using. I eventually got the game to behave, but I wanted to know WHY...
I am pretty new to Javascript and I've read a few pages about Objects and Methods, but I think I'm still fuzzy on a few things I hope someone can clear things up!
Nice post I've not tried using the setTimeout function yet. I'm still pretty new with the JavaScript so I guess I overcomplicated the problem a little bit.
Or why not actually come up with a standard for what a byte is so there aren't so many discrepencies between each machine?
Ever looked up the definition of a byte?
Lol I doubt that. Glad it works for you. Hope you don't mind since I spent some time on it and I think it looks nice I am borrowing the concept for one of my pages! Seriously if you have questions...
Lol dunno why I got hooked on this, but I realized the coding would get really redundant if you continued on that path when needing to add multiple elements. So I adjusted the code again if you...
I adjusted your code to a working example... I simplified things alot. If you have any questions or comments on the new code let me know. I am very new at JavaScript too. I just started last week,...
I depends on the situation and the web browser it appears. If the browser being used allows Javascript to run in the main GUI thread then the window won't update until the javascript is finished...
It looks like you are always appending to the variable aka +=. If you don't reset it back to zero when you call the function then you will just get an incrementally large result. Like if I did