mouseenter, mouseleave Events for non-IE Browsers

Stephen Stchur has written a script to mimic IE’s proprietary mouseenter and mouseleave Javascript events for non-IE browsers. This is useful when you have one element (B) laying on top of another element (A), and you want to do a mouseover/mouseout on A without the mouseout firing when you hover on B. Quirksmode has articles […]

Continue reading...

Home page posts missing when using Pretty Permalinks for WordPress on IIS

I’ve been working on a problem recently with the Pretty Permalinks solution for WordPress on IIS. I was migrating a working WordPress blog from one server to another and once it was on the new server the front page would come up w/ the theme, but instead of the default posts it would say “Sorry, […]

Continue reading...

Protecting Contact Forms From Spam

I’ve had several clients complain about getting spam through their contact forms. Initially, I tried checking the referrers to make sure the comments were being submitted from a browser rather than just a bot, but that didn’t help enough. Luckily, many people have created libraries for Akismet, the anti-spam service that WordPress uses. I setup […]

Continue reading...

Comparing E-mail Address Validating Regular Expressions

I wanted to find a regular expression to validate e-mail addresses, but when I searched I found dozens of slightly different versions of the same expression. Almost all of them had people leaving comments about how it failed to validate or invalidate some rare but completely valid/invalid address syntax. But dispite all the criticism, I […]

Continue reading...