Changes 6/3/14
jQuery:
- Fixed a bug where I had put setInterval(generateMLGElement(), 500);, which did not generate elements after the interval. I'm not really sure why, but changing it to setInterval(function() {generateMLGElement()}, 500); fixed the problem.
- I also began investigating a problem where the button press does not always stop or start the shakes and element fades. As far as I can tell the onclick method of the button does not always fire when the button has been pressed.
- Figured out that jQuery does use css selectors, and the reason it wasn't working for me was I had used the selector button.mlg to try to select a button I had never set to the mlg class. By adding the class in html, everything worked fine.
No comments:
Post a Comment