Dougal Campbell's geek ramblings

WordPress, web development, and world domination.


I’ve spent some spare minutes here and there over the last several days working on a new theme for the site. Try out my Halloween Theme.

Theme switching requires Javascript and at least a moderately modern browser. Even Netscape 4 users can get some of the effects (though it messes up the menus on the left for some reason).

One of these days I’m going to clean up my HTML and do some more interesting theme variations….

About Dougal Campbell

Dougal is a web developer, and a "Developer Emeritus" for the WordPress platform. When he's not coding PHP, Perl, CSS, JavaScript, or whatnot, he spends time with his wife, three children, a dog, and a cat in their Atlanta area home.
This entry was posted in Tech and tagged , . Bookmark the permalink.

4 Responses to Spooky!

  1. Liorean says:

    Your parsed html stinks, mate. If you cleaned it up (see my answer to your mail to css-d), you’d probably get it both to work in more browsers and be much shorter in code.

    Vurrently, if I chose the Halloween theme, you put no less than three link tags to the halloween stylesheet in the page, of which one is alternate (default disabled, switchables) and the other two are persistent (always enabled, nonswitchables).

    In short, your mistake is that you write additional elements instead of modifying the old ones.

  2. Dougal says:

    Well, I admit that the HTML has problems (I comment on it right at the top of the source). But yeah, I finally figured out that the real problem is that switcher code I’m using. When I have time to look at it again, I’ll try changing to the switcher code from A List Apart.

  3. Liorean says:

    Instead of that switcher, I’d recommend you to use my own ThemeSwitcher.

    The one Paul Sowden wrote doesn’t supply all ways of defining alternate stylesheets – mine does. It isn’t backwards compatible with 4th gen browsers, though.

  4. Dougal says:

    Okay, done 🙂

Leave a Reply

%d bloggers like this: