spiderwebwoman …

… step into my parlor

Added two tools to my designer toolbox today – Safari for Windows and JSLint

Filed under: FrontPage,Web Standards — spiderwebwoman at 5:02 pm on Saturday, October 6, 2007

I’ve always wondered what my sites looked like, and more importantly, if they worked, on a Mac. I’ve got my eye on the MacBook Pro, but I’m waiting until Leopard with BootCamp comes out. Today, I downloaded Safari for Windows, and sure enough, I found a drop down menu on one of my sites that didn’t work. It had no options in the drop down list other than the first one, no “Submit” button and worse than that, all the content underneath it was gone! I eyeballed the JavaScript and couldn’t find the problem, so I Googled for Javascript validator and found JSLint. The author, Douglas Crockford, keeps it up-to-date and it’s free. All you need to do is copy your page source into a text box on the page and hit the JSLint button. It will validate as much of your script as it can, and it’s pretty clear about telling you what the problem is. I was able to fix the page and get it working in Safari in no time. I highly recommend adding both of these tools to your toolbox.

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.