Skip to main content

Ways Of Driving A Nail Into A Board (ALA)

It's so amazing to observe the evolution of the idea in a creative environment. This is why I love ALA discussions.
There is, I believe, an infinite number of ways for driving a nail into a board - starting from a hammer and working your way up to a microscope - and most of them get the work done. What to use - is entirely up to us.
This article introduce yet another way - great. Even better, it works! Anyone wants to port it to .NET or any other platform - go right ahead, and don't forget to share.
Waste of bandwidth? Hard to fathom without testing under real load; I would say, it might cause some issues in some cases, but this is not the point. The point is - the more ways of skinning the cat we discuss, the larger the world population of the skinned felines will grow.
Ewe.
I meant it in a positive way, actually. Hmm.
Anyway, great work, great concept, and great discussion.
Keep it up.

Sidetrack:
[LazyJim] ...Why not just have images for every letter of the alphabet and replace each letter on your page with a single-character image?...
This is yet another way. And, you don't even need PHP or any other server-side technology to implement it, you can get away with simple JavaScript: take a string of text, split it between characters, loop through the resulting array and write to the page whatever structure you wish to insert "YourArray[i].gif" image for each letter. Assuming that you have all the images pre-made and uploaded to the server.
Here is the sample.
I wasn't entirely happy with this solution, because each line of text would require numerous server trips on the first load (not only that, there was an issue with illegal characters in a file name, like " .gif", "?.gif", "..gif", etc.), so later I revised the script, using single image as a shifting background for the series of floating DIV's and a set of CSS rules to position the background:
www.gerasimenko.com
The next iteration of the script does, in fact, dynamically replace the H1, H2, etc. tags it finds on page onload. I was going to submit a tutorial on this matter to ALA for a while, and finally did earlier this week, inspired by the article we are discussing now (I wonder if this post will be considered a "previous publication" and ALA will dismiss my submission because of that).
Yet another way.

[Stewart] ...Using individual characters would not work, because 1) the kerning of characters would be destroyed and 2) the ALT attributes of each image would be rendered entirely useless, making this technique inaccessible...
The kerning will be affected, yes, but not destroyed, it's just a matter of dynamic positioning of each letter. Kerning in Photoshop is not bulletproof either, and highly typeface-dependable. The ALT attributes will make sense no more, true, but there is also TITLE you may be able to apply to the parent node element to make it up.

[Nevel] ...When using replacing images, you obviously don't think CSS is good enough to serve your needs...
True. It isn't. At least not yet. This is why Stewart developed this technique in a first place.

Popular posts from this blog

{position:fixed} in iOS 6

I stumbled upon this oddity when upgrading to iOS 6 while working on a mobile advertising project, and it took me a better part of the day to figure out what is going on: all of a sudden an element {position:fixed} stopped working in a correct manner (which is staying put, while the page is scrolling), and started "sticking" to the scrolling page, moving out of the viewport, and then just "jumping" back to the correct location after the scrolling was finished.If you scroll this page , you will see it—hint: that's the one labeled "broken"—assuming that you have a correct device/browser combination. Mine was iPhone4 and iOS 6.0 (6.0.1-6.1.3 behaves just the same). On the original page, where I first encountered the problem, all of my elements were created dynamically using JavaScript, but at the end of the day (literally) it become clear, that the glitch is in the iOS 6 CSS implementation.Here is what happens: if you have an element {position:fixed} whic

iLife Revisited

After several months of DV abstinence, partly caused by an unprecedented attack of GarageBand eiphoria , partly - absence of footage of any value, due to rather eventless existance, I finally decided to return to the most time consuming of all of my activities, and make a movie again. Following is a short summary of the experience. I promise to keep this rant as technically oriented, as I can, in hope, that it might be of some benefit to fellow users. During nearly half of the year, which passed since my last cinematographic endevour, there were a couple of QuickTime updates, iPhoto update, and several system and security updates. Current set-up: System: Mac OS X (10.3.6) iMovie 4.0.1 iDVD 4.0.1 QuickTime 6.2 (Pro) iMac G4 800MHz 1GB RAM Good things first: audio and video ARE in synk throughout the whole 1 hour and 39 minutes of the show. I would be thrilled, if it didn't happen before, but the good thing is that it's still there. This is about it. 1. iMovie is as sl

I Am Starting To Worry...

...generally, when the amount of money in my savings exceeds a certain number (and that's not a large number), mainly, because I expect various unpleasant events to take place. Usually, the car breaks down. Sometimes I hit something, but sometimes it breaks by itself just as well. This Tuesday I came to work, parked my Jeep, spent 9 hours at the office, went back to my Jeep and turned the ignition key. Nothing. The lights are on, though, radio works, too - I have power. So it's a fuse, or starter. I checked the fuses (found two which claimed responsibility for the starter operation), one was all right, the other one I couldn't pull out without pliers, so I decided, that it's all right, too. It looked nice from the outside. So I called AAA and asked for the tow to the dealership. The truck came in about half an hour and the driver checked my battery, confirmed that it's not it, and offered me to start my Jeep with a help of two seemingly undocumented individuals, who