Archive for the ‘CSS’ 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 ...

Writing stylesheets in PHP

Friday, December 21st, 2007

Team I had a cool idea: I was curious whether or not it was possible to write stylesheets in PHP.  I set up a brief experiment, and in a word, yes it is.  If you're curious to see what I did, go here: http://hangar.digitaldaydreamsstudios.com/Chris/CSS.PHP/ I wrote a PHP function that loads a stylesheet, ...

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, ...