Now I know I said I wouldn’t have an excuse to produce anymore javascript libraries for a while, but I should have known that would ensure my fate. My current project is a javascript application that supports numerous states, after trying at first to manage these using a large (then larger series) of if tests, I gave up and put together a simple finite state machine FSM to resolve the transitions.
The download contains an example.html file, open/view this for the demo. Tested in IE 6/7, Firefox, Opera and Safari.
Nice! Thanks! Exactly what I needed.
Hi Mike, thanks. I actually have a more up to date version of the FSM library that passes the JSLint tests if you’d like – email me ant(at)getme(dot)co(dot)uk and I’ll send you a copy.
Sweet! Absolutely. Thanks for your response.
Good code, it helped me out a lot. I ended up rewriting some of it myself to suit my project better, but you’ve got the credit for the original JS version.
Do you have a github account with this code up? If you do I’ll fork it and show you my changes. I stripped down your code quite a bit and added a few things for my app.
Thanks!
Very simple, very nice, very good.
As with Mike, this is just what I need
Thanks for sharing
The link to the zip file is missing. This is very sad!
Hi Sukima,
I’ll happily email you the latest version just send me an email at ant(at)getme(dot)co(dot)uk. I’ve been meaning to put this code up on a public repo for sometime
I visited your website and noticed you’re into creative writing – I launched a creative writing project this year and thought you might be interested http://burrst.com/