with Imagination: by Dustin Diaz

./with Imagination

A JavaScript, CSS, XHTML web log focusing on usability and accessibility by Dustin Diaz

Unobtrusive Degradable Ajax Style Sheet Switcher

Saturday, December 17th, 2005

For today’s article, you can find it over at 24 ways to impress your friends. Thanks Drew for letting me present a cool idea along with a bunch of other great web developers from around the world.

So what are you waiting for, go check it out: Introducing U.D.A.S.S.S.! (Example page included)

Todays question and book information

The winner of today’s contest will receive a copy of Ajax in Action by Dave Crane, Eric Pascarello, and Darren James.

Yoda versus Willow. Who wins? And why? (Get creative guys!)

Please remember to put your answers encapsulated within a <blockquote> element, and the regular discussion as normal.

12 Responses to “Unobtrusive Degradable Ajax Style Sheet Switcher”

  1. Justin Perkins

    Dude how can you even ask that question?? Yoda all the way, the Jedi Master of all time vs. Willow?? Who the f- is Willow???! Yoda lives in a swamp after going into seclusion, he ruled the swamp. Did this Willow character live in a swamp? Yoda had a gnarly, burl-encrusted walking stick. wtf did Willow have?

    24ways is no workie for me, they must be getting flooded with hits for that super rad stylesheet switcher. And I thought mine was cool and unobstrusive, boy was I wrong. It ain’t cool unless it was the word AJAX (is that a word?) in it, I’m so old school.

  2. Dustin Diaz

    Yea, I saw my article up for about two minutes as I had just received an email from Drew telling me it’s live. What a bummer for 24ways.org to be down on my big day :( - I haven’t been able to view the site for quite a few hours now.

  3. Ashley

    Yea what a bummer but 24ways is now up and running just came from there. Great article BTW !

  4. Drew McLellan

    The site’s back now. I’m trying to find out what happened, but it looks like it was a network problem somewhere near by server rather than the server itself. Sorry ’bout that.

  5. xxdesmus

    Yoda all the way. You saw him in Attack of the Clones right? That was sick, Yoda wins, no doubt.

  6. Rob

    How can you even compare the two? Williw is a tiny little girl in a sucky series, yoda is the coolest character from one of the best movie trilogies ever! He is small, but can fight better than anyone, proving conclusivly that size does not matter. And he has the force…

  7. Justin Perkins

    >> best movie trilogies ever!

    Uh, there was actually six of them. What is that, a sextilogy?

  8. Matt

    OK - assuming we’re talking about the movie “Willow” - Willow tends to avoid trouble by hiding in bushes, running under tables, and relying on the likes of Val Kilmer and 2 little fairy-dudes for help and protection. On the other hand, Yoda can behead 2 stormtroopers with one swing of his lightsaber, lift a spaceship out of a swamp, and can boss around the likes the Sam Jackson. But even so, Willow has a better command over the English language, and is good with babies… Yet, in a one on one face-off, I don’t think these skills will be of much use to Willow - so I’d have to go with Yoda. But I think if such a match ever happened, Yoda would be like “Kidding, you must be” and saunter off into the sunset.

  9. Edward J. S. Atkinson

    “Yoda versus Willow. Who wins? And why? (Get creative guys!)”

    Yoda acheived the rank of Jedi Knight at age 50 and Jedi Master at age 100. The tiny, shrimp-like character went into a self-imposed solitude for 100 years to better understand the force and to develop odd speech patterns. It’s not easy being green, but this little guy with ears the size of dinner platters (to further compound his green surface area) did an excellent job of it. When we see Yoda in Star Wars, he’s already in his 800’s. Any guy who lives to be 800 and has the self-discipline to study The Force for several human life times has got something right going on…

    By Willow, I shall assume you do not mean the Buffy character (we all seem to be pulling from Lucas’s Willow anyways). There is little special about Willow, really, and I can’t really seem to find any comparison to Yoda. While Willow’s waving around bits of magic, Yoda’s raising X-wings out of swamps at age 800-something. If he can do that at age 800, I can hardly imagine what type of power he controlled earlier in his life. Yoda flat out wins.

    Yoda = 1
    Willow = 0

    P.S. Yoda is totally way cooler and made Lucas a whoooole lot more money. So he wins in that department too. Oh, and he’s made more action figures.

  10. Rob

    Oops, sorry justin, my bad. I meant the general run of movies…

  11. Nate Cavanaugh

    By Willow, I am going to assume you mean the tree.

    And while perhaps Yoda could chop the Willow down in a flick of his light saber, the size of his light saber really indicates an enormous over-compensation.
    Perhaps Yoda is a bit insecure about his size, and has to scream to the world “Look how big my saber is”, where as, the stoic, serene, if somewhat melancholy Willow tree sits there is complete zen peace.
    Maybe the tree is world-weary, but he is happy.
    He has truly become one with the Force, whereas Yoda must continually run around, bantering, speaking in some foreign gobbledygook, trying to sound wise.
    The Willow tree, on the other hand knows that it is better to say nothing at all, and let everyon think you are a fool, than to open your mouth and remove all doubt.
    Of course, it helps that the Willow doesnt have a mouth, but that is more proof of his one-ness with the Force. He has transformed himself.

    Yoda, on the other hand, is a preening, yappy Kermit the Frog impersonator, and the Willow is a stalwart, but relaxed guardian of eternity.

    BTW, I really doubt you were talking about the tree, but you said get creative, and I have no idea who the heck Willow is :)

    Overall, I love your site :D

  12. Edward J. S. Atkinson

    Oh, I guess I should have wrapped it in the blockquote. Whoops.

Get "JavaScript Design Patterns"

"As a web developer, you'll already know that JavaScript™ is a powerful language, allowing you to add an impressive array of dynamic functionality to otherwise static web sites. But there is more power waiting to be unlocked--JavaScript is capable of full object-oriented capabilities, and by applying OOP principles, best practices, and design patterns to your code, you can make it more powerful, more efficient, and easier to work with alone or as part of a team."

Buy JS Design Patterns from Amazon.com Buy JS Design Patterns from Apress

Submit a Prototype

All content copyright © 2003 - 2007 under the Creative Commons License. Wanna know something? Just ask.

About | Archives | Blog Search

[x] close

Loading...

Submit a prototype

By checking this prototype I agree that I am not submitting false credentials, pornography, or a hate crime website. I also understand that by submitting my entry I may or may not be accepted, and if accepted, my entry may be taken down at any given time if I violate these terms.