Archive for the ‘Javascript’ Category

Image Panning How-To

Monday, March 24th, 2008

Here's a better implementation of the image-panning I pointed out the other day. You'll need to know the dimensions of the images ahead of time, which is not a problem for me because the images will be coming through a resizing cache* anyway. Image Panning Demo

Image Inspector

Thursday, March 20th, 2008

This is a website I go to sometimes to look for cheap stuff; Recently, they've updated their image-zooming code to pan dynamically on the existing thumbnail while showing a subsection of the large image in a floating panel, and it's pretty awesome.  I don't have a need for this right ...

Speaking of which…

Tuesday, December 18th, 2007

Speaking of the ubiquity of javascript, I just made an accidental discovery.  When I wrote my last post I did so from the blog itself (not from scribefire), and I was confused to find that the MS Word-style editing options were missing above the writing space.   That happened because I ...

Question regarding To-do list project

Tuesday, December 18th, 2007

Team I've got a dilemma on the to-do list project. Initially, I had desired to set the project up such that it will work perfectly in any browser regardless of whether not the client had javascript enabled. That's actually how I've been designing the project up to this point, ...

I made a gizmo

Tuesday, December 18th, 2007

I made a dumb little scroller for the to-do list project. You can see it here: http://hangar.digitaldaydreamsstudios.com/Chris/DDS_scroller/ I didn't bother to create CSS sheets for IE, so use a real browser if you look at it. (Not even IE7 is compliant enough to work without a separate stylesheet.) Also, ...

XPath

Monday, December 10th, 2007

So, apparently, XML is even cooler than I thought. Flash 8 only supports a small amount of the XPath API, which basically allows you to implement search strings into XML objects and return lists of nodes or individual nodes. Apparently, it is also a LOT faster than nesting for-loops. Go ...