Clearly, this is the first time I’ve tried to do this. No, that’s not quote true. I’ve been working on a post that does it, I just haven’t published it yet.
I’ve discovered that JavaScript is really neat for doing lots of cool stuff. However, WordPress has a couple of issues with it. It’s okay to use JavaScript in template files, or include external JavaScripts, and even to use JavaScript in Pages, but if you try to use it in Posts, it fails.
It converts ” into ", and ‘ into '. Or more strictly, into the #8220;-ish version. Which isn’t much good, as then any JavaScript which uses quotes, to define a string, for instance, will not work. You could define a function elsewhere, and then just call it, that should work. But not do anything that requires quotes.
There seem to be a couple of WordPress workarounds, but not in WordPress-MU. Or Blogsome, that means.
I may have a look at the source, to see if I can figure out a way to make it work nicer.
Oh, and that reminds me. I need a decent text editor for Windows. Notepad just ain’t cutting it anymore. Especially if I try to open a Unix file.
For Windows text editing you might check out Scite. Gvim is okay too.
I’m interested to see if you come up with a solution to this Javascript thing. I generally just have a giant .js file called from my template, and keep hacking on random functions.
Heinous.
1 hour, 6 minutes after the fact.
I’ve really enjoyed your blog, and have been trying to use the theme files you post over in your connection page. However, I can’t get the comments to work. It gives me an error whenever I click on the comments.
Is the comment file you posted there the latest one you use? Wth the ‘catchpa’ and the quicktags?
9 hours, 8 minutes after the fact.
Yeah, the one on my ‘Connections’ Page is the current one I use.
This page takes a while to load - I think I need to optimize some scripts that are causing it to slowdown on loading.
13 hours, 47 minutes after the fact.
Patrick: Thanks for the tips. I’ve already downloaded three other editors, I’ll play around with them all and see what I like most.
14 hours, 2 minutes after the fact.