2008-01-12

Gadget Event Handling and a New Blog Theme

Based on Jeff’s recommendation, the Gadget class no longer inherits from EventHandler. That should really be limited to gadgets that need to handle events, or subclassed gadgets created by other developers. The AmigaScreen and SkinnedScreen gadgets inherit from EventHandler.

In other news, the blog now has Noj’s excellent zombie monkey in its header bar. I’ve been meaning to tart up or replace the default “Kubrick” theme for ages, but haven’t had any success. I haven’t been able to find another theme that’s as well laid out, easy to read and generic as “Kubrick”, and I haven’t got time to make my own. Sticking a funky monkey in the header is a good compromise.

My pal Dunk suggested that I make the text more interesting. I pointed out that it’s there for the search engines, but thinking about it, I can just make the standard text invisible with CSS and put some alternative text on the background image. I’ll see what I can come up with.

EDIT:

Text done. It’s not great, but it does the job. Slight problem - there’s nothing to click to get back to the main page now. Heh, another thing to sort out.

Comments

Dunk on 2008-01-13 at 10:19 said:

Woohoo!

Dunk on 2008-01-13 at 10:21 said:

Yeah, I can’t go back to the main site any more! Maybe you can make the text in a floating div positioned absolutely, or make the whole header div clickable?

ant on 2008-01-13 at 13:10 said:

Some poking and prodding later, and the text is now clickable.

Dunk on 2008-01-13 at 23:08 said:

Hey Ant, There seems to be a php tag missing from the new clickable header…

ant on 2008-01-13 at 23:52 said:

Nicely spotted. Was a missing opening bracket. Tch, amateurs, eh?