Current version - 2.0
This is just like the magnetic word kits you've seen before except this is on the internet! It saves state
when you release a piece.
It updates itself every 7 seconds, so if you're on it at the same time as someone
else is and they move something, you'll see that piece move too.
And it's persistent, so what you write will
be there next time you come back unless someone else moves it somewhere. It the
dom-drag library
by
Aaron Boodman of http://youngpup.net the CPAINT AJAX library by booleanSystems.
If you're interested in using this code, you can download Version 2.0 source here.
*Installation Notes* - You need PHP to run this code. Just unzip all the files to the same directory and CHMOD words.dat to
646 (public writability is the important thing) and you'll be good to go.
Keep checking this page for updates!!
If you have any questions, comments, or find any problems please email me here.
This has also only been tested in Firefox and Internet Explorer for right now.
***********************************KNOWN BUGS************************************
- If you start moving something during the middle of an update it might temporarily jump back
to where it
was originally. But then it'll move back to where you put it. I'm working on tweaking this some
to try to
avoid the problem.
- If you move the tiles around really fast, it might cause a Javascript error. Working on a fix for
this...just don't move them around really fast. If you do get an error, just refresh the page.
*************************************************************************************
Change Log
Version 2.0 - 17.May.2006
- Added a little administration thing so you can update and add words from the web directory via the admin directory.
Version 1.9 - 11.January.2006
- Fixed bug where a read might occur in the middle of a write, thus removing words from the board. Added file locking
to fix this problem. Hopefully that'll fix it.
Version 1.8 - 09.January.2006
- Completely rewritten to not use a MySQL database anymore! It's also more efficient in how the code is generated.
Hopefully this will help avoid problems where you piss off your
host by DOS'ing the SQL servers. It seems to work just as quickly as before.
- Made magnetic area a bit smaller.
- Added a little (not very good) background to make it look more like a refrigerator.
- It's easy to add your own words by just modifying the words.dat file.
- Added BSD open source license.
Version 1.7 - 09.June.2005
- Fixed small issue where php would spit out warnings if you had it on a high warning level.
Version 1.6 - 08.June.2005
- Switched code to use CPAINT instead of Sajax to save bandwidth. Sajax sends the entire page
back and that's not cool. CPAINT just returns the data I want. Plus
it's faster.
Version 1.5 - 08.June.2005
- Changed the name to Magnetic AJAX.
- Fixed a small compatibility bug in Sajax.php.
- Fixed a few spelling errors in the word list and added a couple words.
- Changed update time to 4 seconds instead of 2 seconds to conserve some bandwidth.
It's a little slower updating, but it's not that bad. It's kind of a bandwidth hog.
Version 1.4 - 07.June.2005
- Fixed the problem where you could drag the tiles partially off the board.
Version 1.3 - 06.June.2005
- Added pseudo-realtime updating, so you can see when people move things at the same time as you.
Version 1.2 - 05.June.2005
- Removed use of text file. Uses a database now so it's faster.
Version 1.1 - 04.June.2005
- Restricted size of box so you can't drag outside of div.
Version 1.0 - 03.June.2005