yes! we are now xhtml strict!!

Well that kind of said it all, really.

I decided to make the move over to strict xhtml, from transitional. In the process I removed the bookmark link that I’d added a while back and was causing the page to fail the validation. I probably could have fixed it, but I wasn’t in the mood, and it was pretty useless for my site anyway. If you used you’d more than likely have the bookmark to hand anyway.

Technorati Tags: , , ,

horizontal calendar

I’ve spent the evening hacking the hell out of the the WordPress get_calendar() function to give me a horizontal calendar in the header to replace the tabular version in the sidebar.

I’ve converted it from a table into an unordered list (to match the rest of the rows in the header) and rearranged things so that you have the previous and next months at either end. Stylistically, each day with a post is bold and days without posts are faded out; today’s date is highlighted in the yellow; hovering over the post days gives you a short piece of text giving the full date and the titles of the posts made on that day.

While it was certainly not as difficult to put together as I had thought — the bulk of the work has come from the get_calendar() function — I went through many, many tweaks to get it to this stage, but as always I spend a lot of time over the tiniest, most inconsequential details.

Technorati Tags: , , ,

javascript collision

In the process of adding a stylesheet switching option to this blog, I inadvertently created a conflict with the switcher for the main site, which meant that each was overwriting the others’ cookie, hence the css either broke or went AWOL.

By adding a path for the relevant areas to each set of scripts I was able to fix it.

Who says I’m my own worst enemy? Oh yeah, me…

Technorati Tags: , ,

saving the pony

So, there’s this larger-than-average kissing gate as you stop following Monk’s Lode and cross some fields back into Wicken.

And the lock isn’t very secure, so that it easily pops open, leaving the gate standing ajar. One of the ponies had managed to negotiate this and got trapped on the wrong side of the gate. When I reached the gate the rest of the horses and ponies were milling around while the trapped pony was trying to find a way to get through the fence. I managed to coral it through the gate and back to freedom. I suppose someone else would have done the same thing if I hadn’t.

Every time the pony had it’s back to me, as I was guiding it through the gate, I was thinking this is a very bad position to be in, I hope it realizes I’m trying to help and doesn’t kick out. Nice pony.

Technorati Tags: , ,