Warning: gzinflate() [function.gzinflate]: data error in /home/boozkerc/public_html/kneedeepincode/wp-includes/http.php on line 1787

Have you ever wanted to change the active state of web site’s navigation but didn’t want to write server side code for it? For example, in PHP, you’d have to write a switch or if/else conditional. Something like:
(more…)
Warning: gzinflate() [function.gzinflate]: data error in /home/boozkerc/public_html/kneedeepincode/wp-includes/http.php on line 1787

This is a small, lightweight function for JavaScript that I use in conjunction with jQuery frequently. I call it, is_email. Here is the function, and if you know JS this will make sense right away:
(more…)
Warning: gzinflate() [function.gzinflate]: data error in /home/boozkerc/public_html/kneedeepincode/wp-includes/http.php on line 1787

Here are my favorite ways to debug live and non live sites. The first is great to put in all of your sites from the very beginning so if you ever do contract some kind of bug, you can easily open any file and just use the class. The 2nd is better if used on a non live site or with #1. It will let you see any or all elements either on load or while hovering your HTML elements. Lastly, I have a very short script that you can view generated source code without a plugin and view it in a stylish way as well.
(more…)
Warning: gzinflate() [function.gzinflate]: data error in /home/boozkerc/public_html/kneedeepincode/wp-includes/http.php on line 1787

dynoBox was supposed to be just a copy and paste bit of code, but then I decided, what the hell, might as well make it a full blown plugin. Even after that I thought it was only going to have 2 options, selectAll and value. While building it I kept on thinking, shit, what if…
(more…)
Warning: gzinflate() [function.gzinflate]: data error in /home/boozkerc/public_html/kneedeepincode/wp-includes/http.php on line 1787

Here is an easy way to make equal and scalable columns with jQuery. Tested in IE7, Safari 4, and Firefox 3. Just put your left side selector for the first argument and the right side in the second. Look at my code in the window.load function as an example.
(more…)