Jul
05
2010
Category: How To | Tags: espresso, javascript, jquery, jquery ui | 1 Comment
Semi-Transparent Mockup Overlays with CSS / jQuery UI
I recently needed to convert some PSDs to HTML/CSS with pretty high accuracy, that is, the finished webpages needed to look very close to their original mockups. As is customary nerd style, I wrote some code to help me do that. (These demos and pictures use my Movie Monster gig, because the aforementioned project isn’t [...]
Read the rest of "Semi-Transparent Mockup Overlays with CSS / jQuery UI"
Apr
28
2010
Category: How To | Tags: javascript, jquery, tutorial | 1 Comment
Auto-Hiding “Back to Top” Link with jQuery
A common usability feature on a lot of sites is a “Back to top” link at the bottom of long pages, allowing users to quickly get back to the start of the document without scrolling. These are often built into the CMS or template itself rather than the content, so it’s entirely possible for them [...]
Read the rest of "Auto-Hiding “Back to Top” Link with jQuery"
Oct
13
2009
Category: How To | Tags: css, espresso, html, javascript, jquery, tutorial | 4 Comments
Show a Message to AdBlock Users with jQuery / JavaScript
AdBlock is pretty much the best thing to ever happen to the internets. That being said, sometimes it’s important to make money. You know, like, when you’re a poor dude. With bills. And a stomach that wants food. And web hosting to pay for. I threw together some jQuery the other day to display a [...]
Read the rest of "Show a Message to AdBlock Users with jQuery / JavaScript"
Apr
12
2009
Category: How To | Tags: How To, php, tutorial, wordpress | 0 Comments
WordPress: Excluding Categories on Secondary Front Pages
More precisely, this tutorial covers how to exclude categories on paged front pages, index.php, beyond the first default listing. Excluding certain categories from the front page is a pretty easy task, just use the query_posts() function to remove those categories before going into the loop, like so: <?php if ( is_home() ) { query_posts("cat=-3"); } [...]
Read the rest of "WordPress: Excluding Categories on Secondary Front Pages"
Mar
29
2009
Category: How To | Tags: How To, php, tutorial, wordpress | 27 Comments
WordPress: How to Sort Category Archive Posts by Subcategory
By default, WordPress sorts posts in reverse chronological order, with the most recent post being at the top and the least recent at the bottom. Normally, that’s totally cool, since that’s the way we’ve been accustomed to reading blogs, but what about when you’d like a little more organization? Let’s say, for example, we’ve got [...]
Read the rest of "WordPress: How to Sort Category Archive Posts by Subcategory"