The unfortunate part about creating websites for customers is that no matter what recommendation I make, if they want it, I have to give it. Thus is the case with recently adding a "Set As Homepage" link to a customer's website. Homepages are much more useful to the user when they're set to Google, Yahoo!, another portal, or they're webmail. To each their own, I guess, so here's how you create a "Set As Hompage" link using JavaScript.
Read PostAlthough it's possible to achieve opacity using CSS, the hacks involved aren't pretty. If you're using the MooTools JavaScript library, opacity is as easy as using an element's "set" method. The following MooTools snippet takes every image with the "opacity" class and sets the element's opacity based upon the number in the image's rel tag. MooTools 1.2 is required.
Read Post View DemoInternet Explorer provides for some really interesting CSS image effects. Of course, these effects are useless in any other browser (just how Microsoft intended) but they should be used like any other browser-dependent functionality — used as enhancements only.
Read PostOne of my main goals when creating PHP web forms is to keep them secure and protected from spammers and automated bots. With the amount of spam that Akismet catches every day, I don't need to be reminded of the importance of securing forms. Since 90+% of my forms are POST transmissions, I've taken a lot of time to develop POST debugging and listening code.
Read PostI've been updating the website over the last couple of weeks and I'm not quite done yet, but I wanted to share with you what I've enhanced on the blog and see if you have any ideas for me.
Read PostI think Facebook IM could take a huge chunk of AOL's IM users, especially the younger crowd. AOL really has nothing to integrate with, while integrating Facebook IM with their profiles service could be extremely useful. Leaving AIM wont break my heart.
Read PostOne aspect of WordPress I dislike is that trackbacks display as a comment with the rest of a post's comments. Trackbacks are a nuisance when there's a great conversation going within the post's comments. Some users, however, love trackbacks so I can't simply get rid of them. I know there are plugins available to separate trackbacks from post comments, but I've chosen a different approach.
Read PostCreating email links is a piece of cake, right? It's as simple as...
Read PostError handling is important in any programming language and PHP is no exception. Lucky, error handling in PHP is extremely easy to set up. The following is a quick cheat sheet for PHP, straight from PHP.net.
Read PostIn the interest in full disclosure, I was sent this book by a fellow DZone Zone Leader in hopes that I would review it. I'm reviewing this book, however, in the interest of my audience.
Read Post