Thursday, December 18th, 2008 – 6:48:38 pm
I’ve been making some pretty cool (in my opinion) animations lately using no images, no Flash, and no Silverlight. All I’ve been using is JavaScript, CSS, and a tiny bit of SVG.
You can see the first two I made (and only so far): Speck and Fishtank.
Saturday, September 20th, 2008 – 8:46:04 am
Although there are no llamas in LlamaWorld, there is plenty of JavaScript. In fact, almost the entire world is JavaScript.
At the moment, most of LlamaWorld’s code is directly taken from an example on the Mozilla Developer Center.
If you beat the first (and currently the only) level, please take the survey when you are asked. I’ll be [...]
Monday, August 4th, 2008 – 3:58:00 pm
An online friend of mine has tried to make a virtual cat game several times and gave up each time. But this time is different. This time, she has the support of a programmer, and I won’t let her give up.
The new VKitty is all ajaxified, so there is only one full pageload for each [...]
Friday, August 1st, 2008 – 6:40:57 pm
Ever since I started working on the mostly Ajax app “VKitty“, I’ve been looking into JavaScript compression, and trying to figure out how it works. Most compressors have very simple ways to compress JavaScript, by simply removing whitespace, but Dean Edwards’s /packer/ defies the simplicity of most compressors by making an unreadable function that acts [...]
Saturday, May 24th, 2008 – 11:02:45 am
Add the following lines to your .htaccess file:
RewriteCond %{HTTP_HOST} !^example\.com$ [NC]
RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]
of course, you would change example.com to your domain name, and example\.com to your domain name with backslashes before the dots.
Add the following JavaScript to a file that is common to your whole website.
try {
if (window.top.location.href != document.location.href) {
window.top.location [...]