Fork me on GitHub

article

Note to self

February 21, 2005 | Web Design & Development

I haven’t read this yet, but am leaving it as a reminder for me to read it as I need to bone up on my JS.

Unobtrusive JavaScript.

Now I really need to get my links box working so I don’t have to put this into an article…

Also leaving a note to read A Tribute to CSS Selectors. More stuff I need to bone up on.

5 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  • The javascript has some good tips. Some of it might be a little debateable, but what isn’t? As long as you stick to the separation of content from behavior, you’re in good shape from a nerd’s eye view, and he’s advocating that, so rockon.

    CSS 3 Selectors are keen. I’ve used them. Though he’s used more elaborate examples than I have used and put more thought into it than I have. That’s due in large part to lack of IE support, so I tend to shy away. But the beauty of them is that they can degrade gracefully.

    But witness this: Web design techniques that are now growing to move beyond the limitations of IE are spreading. I have foreseen this. IE must support or wither.

    John Pennypacker, February 21, 2005 6:36 pm | permalink

  • My CSS book lists another selector that he left out of that little [kickass] tutorial. The tilde…

    a[title~="Malarkey"] { border-bottom : 1px dotted #900; }

    It appears to do the same thing as the *, but I’m not certain. As awesome as this Pocket Reference is, the descriptions of some of these things are rather cryptic and very technical.

    joel schou, February 21, 2005 9:27 pm | permalink

  • Man, I’m diggin’ the possibilities of the Malarkey article. Too bad about IE. Really, too bad. I can think of many uses of those selectors…

    shawn, February 21, 2005 10:41 pm | permalink

  • Actually, the difference between *= and ~= is that a[title~="Malarkey"] will match <x title="this is Malarkey in the title"> but not <x title="ThisIsMalarkeyInTheTitle">

    ~= seeks a word, separated by spaces from the rest of the content

    *= seeks a substring and doesn’t care if there are spaces around it or not.

    Wanna see a cool site?

    Seletoracle Just type in any old selector and it’ll tell you what it means in plain English. or Spanish if that’s your gig.

    John Pennypacker, February 22, 2005 7:46 am | permalink

  • Well, on a side note, I’ve got the blog roll running so I don’t need to leave notes to myself. But I do need to make an admin interface for adding links…

    shawn, February 22, 2005 6:46 pm | permalink

Comments are closed