Extended Content Now Shown Inline
Posted by Chief Oddball in the wee hours of August 24th, 2003Heh…as soon as I got done grousing about the seemingly difficult-to-customize nature of the pMachine weblog system, I discovered a gem of a hack that does something extremely nifty.
You’ll notice that most of the entries on this site display only the first few paragraphs before providing a link to a page where you can read the rest of the post in its entirety. Rather than utilize two separate pages, however, the hack I just installed will display all of that content inline, on the same page. Clicking the link will simply toggle the visibility of the layer that contains it. Pretty sweet! Apparently, lots of people have used this on their pMachine sites to great effect.
I’ve noted that there’s a couple of minor cosmetic issues with Mozilla / Opera, and the somewhat annoying tendency for Mozilla to remove the focus from the page when you click to expand the extended content. (That is, you’ll click to read more, then your mouse wheel won’t scroll the page anymore until you click somewhere in the document window.) I hope to get that fixed shortly, but I’ve got to take off right at the moment. I’ll look after it when I get back this evening.
Hacks are a Good Thing™.
