Comments: JavaScript fun

Ooh, ooh, I found an error ;P

Line 641 of loadThemes.js, you have an assignment along the lines of x = 'this 'sdsd' sfsdf';

That's right, it's the old use of quotes inside a quoted string. I assume loadThemes.js is generated from a database somehow, so you can probably just modify your generation script to replace quotes with backslash quotes.

Although I think it would be a good idea to have a simple html version (in addition to a fancy js one) for visitors who disable javascript.

Posted by Wogan at August 11, 2003 9:11 AM

You scroll down for the simple version :)

Bravo! Very nice indeed.

Posted by AndyEd at August 11, 2003 2:38 PM

It looks like the issue above has been fixed now.

My point with the simple version was that you get no list at all if you disable javascript. But then I guess it's impossible to install them anyway without javascript (isn't it?), so whats the point.

Posted by Wogan at August 11, 2003 4:17 PM

We'll be moving to php based after I update the backend, probably next weekend. Then people can save them, even if they have javascript disabled.

By the way, djst, does your form check to see if javascript is enabled? Probably not. Consider this an RFE ;-)

Posted by alanjstr at August 11, 2003 4:45 PM

Hey David,

Your blog now scrolls much slower than, say Firebird help. Is that intended?

Posted by vfwlkr at August 16, 2003 11:30 AM