Bounding box drag-select for tables; Javascript, Prototype
td { background: #FFFFAA; } *sigh*. I had a table, a lovely table. I wanted to be able to drag a bounding box around rows in the table. Looking around, there didn’t seem to be much by way of existing...
View ArticleEditable table with Javascript, TableKit, AJAX and Rails
Me and my tables. First drag and drop, then drag-select, and now click-to-edit values with date parsing magic. It’s like having a spreadsheet in a webpage, but less pointful. You will need: Prototype...
View ArticleWriting your own cross-site scripting exploit with echo.php
I keep commenting in my posts about security, usually to the effect that I don’t care for the purposes of what I’m doing but that you should think carefully about it. I thought it might be instructive...
View ArticleJavascript Snow with Canvas
Seasons greetings! I was trying to project some snow onto my wall the other day, and realised that it was actually surprisingly difficult to get decent javascript snow that settles at the bottom of the...
View ArticleJavascript Snow performance
So I wrote Canvas snow. Canvas is effectively a pixel buffer, and I decided that the best strategy to render the snow would be to blank the canvas and redraw all the snow (and the ground) every time....
View Article
More Pages to Explore .....