Tag Archives: code

Another day another bug fix

Nov 2009 22 – Filed under code

Erg. Note to self Safari (webkit) wrongly considers typeof /regexp/ == ‘function’ when all the other browsers use typeof /regexp/ == ‘object’

CeeBox 2.0.7 released with bug fix for Safari/webkit that effected video embedding. Hopefully that’s the last of the bugs.

On a side note, I changed comments on my blog to be in reverse chronological order and put the comment field at the top as a temporary fix to the “OMG there are so many damned comments!” issue on some of the posts. I will likely revamp comments with a nested comments plugin or something when I revamp catcubed.com.

CeeBox is now a jquery plugin

Oct 2009 06 – Filed under code

CeeBox is now a full fledged jQuery plugin. I’m pretty proud as this is the first full fledged jquery plugin I’ve ever coded.

You can download it directly from github: Ceebox 1.4 Make that CeeBox 1.4.1 (I found a small error in the minimized css file and then decided to reorganize the css file a bit to make it easier to change graphics)

Make that

If you are running CeeBox 1.3.4 and it makes you happy feel free to skip this upgrade. There is no additional functionality (though it is slightly more usable as a jquery plugin). I did however do a bit more code optimization reducing the size of the minimized version to 8.4KB which is smaller than a majority of the lightbox-like plugins out there—it’s even slightly smaller than Thickbox which this was originally inspired from.

Screenshot of it in operation (Note the next button which is the right side of the image is rolled over):

ceebox-snapshot

I am also working on making a WordPress plugin out of this. Actually I did create a basic CeeBox wordpress plugin already but it is not ready for release.