transmothra: (Default)

Originally published at jeremyjarratt.com. You can comment here or there.

[EDIT: this site no longer supports the features described in this article. Sorry.]

You may have noticed in my sidebar that there are a few elements which are nested in an obvious hierarchical order. For example, at the time of this writing, i have a list of books which i am either reading, planning to read, or have already read, listed under the “now reading” heading.

You may also have noticed that the heading for each of these menu items is highlighted whenever you hover your cursor (pointer) over it.

What you may not have noticed is that the headings for these items’ parent elements is also highlighted when its descendant is hovered over. In other words, when you hover over the “planned books,” “current books,” or “recent books” list, the parent element, “now reading,” is highlighted as well.

(If you’re still not sure just what the hell i’m talking about, check out the demo first, and then come back.)

This is a cool trick that you rarely ever see on the internets, and it’s remarkably simple to do. You don’t need no fancy JavaScripting to do it, either! No server- or client-side scripts are used at all, just good old CSS, and a properly nested hierarchy of elements.

Read the rest of this entry » )
transmothra: (Default)

Originally published at jeremyjarratt.com. You can comment here or there.

Dear Holly,

You are ah-THE bomb.

Happy birthday, dear sweet Miss Thang. Hope you enjoyed your Freedom Toast.

Love & kisses,

~jer

transmothra: (Default)

Originally published at jeremyjarratt.com. You can comment here or there.

So… if Sarah Palin doesn’t believe in evolution… can we call her unevolved?? And nobody even gets upset??? Really?!

So... if Sarah Palin doesn't *BELIEVE* in evolution... can we call her NON-EVOLVED?? And nobody even gets upset??? Really?!

Sarah Palin

transmothra: (Default)

Originally published at jeremyjarratt.com. You can comment here or there.

So Google Chrome is out. That’s great! It’s really a cool, fast, secure browser.

Unfortunately, it appears to break sites in one very important way: it obeys alternate stylesheets, just as if they were normal, active stylesheets. This breaks sites who print their alternate CSS links after active ones (like mine - for now).

I’ve sent this in as a bug to Google, and i’d recommend that others do the same (select “report bug or broken website” from the page icon to the upper right).

At the moment, the only thing to do is to list alternate stylesheets before active ones, or exclude alternate links altogether.

However, there are (naturally!) problems with each method…

Listing alternate CSS (which would still be obeyed) could still cause style conflicts, if there are any rules which are not contradicted (read: overwritten) by later stylesheets below the alternate ones.

On the other hand, not listing alternate stylesheets disables additional functionality in user agents such as Opera, which allows users to select from a menu what style they’d prefer to view a site in - which is arguably the best, most accessible method of switching stylesheets (if you’re using one of those user agents, that is).

For my money, i believe the former is the best option. This means i may have to do some code “cleaning,” which i should have done anyway. In fact, rather than removing extraneous CSS rules, i’ll be adding rules which do not exist in, say, X.css to Y.css, in order to counteract any style collisions by overwriting them with alternate rules.

Btw, for those who need it, here’s the User Agent string i captured:

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.2.149.27 Safari/525.13

[UPDATE] Matt Wilcox helpfully pointed out that this isn’t exactly a Chrome bug, but a leftover Safari one which has apparently been around for years, according to a decently shrewd Google search. Lesson: test in Safari, even if you think it’s a Practically Perfect Browser.

I have fixed it locally but am waiting for at least a few more hours in order to use this site as an example. Hey, it beats making a quick mock-up. Sort of. (My teachers always thought i was most useful as an example to warn others - well, i do what i can!)

And a big thanks to the great Jeffrey Zeldman for helping get the word out to designers about this. Of course, 99% of people making web sites won’t be affected, but for those of us using alternate styling, it’s a nasty thing to have happen.

[UPDATE 2] To clarify, Safari and Chrome both use the Webkit rendering engine, as well as parts of the Mozilla FIrefox codebase. Not to point fingers or anything. I’m just sayin’ is all.

[UPDATE 3] I couldn’t take it anymore. I fixed things here so there shouldn’t be any issues. I use a browser sniffer to detect the user agent and deliver either modern CSS or a crappy facsimile thereof for older, less standards-compliant user agents. As long as i keep up to date, no problem… of course, the drawback is obvious. I must keep up to date. Anyway, i’ve completely eliminated the alternate styles for both Chrome & Safari, at least until this bug is fixed in the Webkit renderer. In the meantime, i’ll put together a tester page and link it here.

transmothra: (Default)

Originally published at jeremyjarratt.com. You can comment here or there.

When i am dead, i wish to be burned to a crisp, and have my dirty ashes scattered by close friends wherever they please.

It is my wish that whatever organs are desperately, vitally needed by someone else in their direst hour be given to them, free of charge, with the condition that such license to use and/or modify shall be taken up by them also, and that no derivative works shall result in profit. After all, i am an open source, Creative Commons person.

My stuff shall be dispersed however my few close friends see fit, with the understanding that of course my dear love Holly should have pretty well everything to start with, shared mainly with anything my dad & uncle  might want (so you better ask them all real nice if you want my Cure CDs). However, Tony D. is not to have anything until he sobers the hell up. There’s no point in giving anything to a man who’s only going to exchange it for crappy booze or some other escapist bullshit. On the other hand, his wonderful daughter Abby is welcome to just about anything she chooses.

I want my unfinished work to be wrapped up somehow. I don’t care how, so long as i become extremely famous and fabulously wealthy after death. Just don’t screw it up like you do everything else. This is Important Shit.

A grave marker will be permitted if anyone wants to bury my ashes, as long as the epitaph is funny as hell. My suggestions:

  • “I probably shouldn’t have done that.”
  • “Whew! Good thing that’s over.”
  • “Oops!”
  • “Not here, and not there either.”
  • “Thankfully gone, decidedly forgotten.”

If you have something better, go for it.

No serious religion shall stake a claim on any part of my death, including but not limited to any services performed to mark my exit. No rites or stupid ceremonies are to be performed, with the lone exception being that my homies will be permitted to spill some on the curb for me. No spiritual messages are to be given, and no priest of any faith shall officiate. It is to be wholly remembered that i was a devout agnostic, who leaned heavily toward atheism. Anyone caught claiming that i somehow had a soul that lived on after death shall be haunted by my fictitious ghost forever, or until they come to the conclusion that i am not haunting them at all, whichever comes first. I lived through enough horse shit; i don’t need to deal with more of it once i am dead and gone forever. My passing should be viewed as permanent. There is to be no prayer of any kind, except in jest. Silent meditation is permitted, but please: no god shit, and no afterlife crap.

Two religions which are permitted practices and/or short rites are the Church of the SubGenius and the P.O.E.E. (disciples of Eris, goddess of confusion - i think), and they should mock the whole goddamn thing, if they even bother to show up. I also do not mind Buddhism all that much.

No flowers, please. Take your money and donate it to a non-religious charity that does work with AIDS patients or research, breast cancer (again, patients or research), homelessness, runaways, asthma, the environment, civil and/or human rights, putting an end to consumerism, humanitarian efforts, nuclear disarmament, or anything related to promoting atheism or agnosticism or the like.

On the other hand, any services performed to mark my escape from this terrible veil of lies should have a darkly humorous bent, and anyone eulogizing me must include at least one tasteless joke at my expense, or (more preferably) the expense of others. Weirdness should be encouraged at any cost. Attempts should be made at gallows humor. Thou shalt have joy, and laughter, damn it. Death is nothing serious. Be wholly glad i am gone!

May 2025

S M T W T F S
    123
45678 910
11121314151617
18192021222324
25262728293031

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 6th, 2025 08:26 pm
Powered by Dreamwidth Studios