Category Archive: web

Feb 25

Grabbing Titles & URLs with a Bookmarklet

The following is fixing the wrong problem, but often technology is easier than people problems. $WORK removed the ability to use plugins with Chrome without having to go through a bureaucratic process lasting weeks. One tool I’ve found useful is the ability to copy the title and link of a page to the clipboard and …

Continue reading »

Feb 11

Javascript with CSS Sprites Animation

Animated Gif

One of the issues with gif animations is being able to stop and start them at will. This post examines a method of using javascript to control CSS Background Sprites for Animation.

Feb 05

Web Based Portable mysql tool suite

Are you limited in what software you can use at work?  This article details how to have a web based tool suite for mysql.  It currently has the following tools: AjaxMyTop — a php implementation of mytop (think top for mysql) which runs in a browser. rbdb — a phpmyadmin work-alike in progress.  It’s the …

Continue reading »

Dec 02

The “A” stands for Asynchronous

So, I have a piece of code which goes out and updates a list.  I’m using Ajax.Updater from Prototype.js, to get data back from the server. In my javascript, however, I’m immediately after kicking off the Ajax.Updater, doing processing based on the results from the update. And they’re out of sync, of course. It just …

Continue reading »

Aug 28

CSS “width” gotcha

I found out something interesting today.  Per the W3C, the total “width” that a block element uses is: If ‘left’ or ‘right’ are given as ‘auto’, their computed value is 0. The following constraints must hold between the other properties: ‘margin-left’ + ‘border-left-width’ + ‘padding-left’ + ‘width’ + ‘padding-right’ + ‘border-right-width’ + ‘margin-right’ = width …

Continue reading »

Aug 13

Drag-n-drop

Despite reports to the contrary, scriptaculous sortables do not work inside a table, nor a tbody. (as of rails 2.1)