Posts Filed as Geek Out

Adding PHP powered color control variables.

I’m not sure if this was a waste of time, but I’m not in love with the colors I’m using on my site. When I built the theme, I kind of knew I’d get tired of the colors, so I made an index at the top showing what colors were used, it looks like this:
/*
Colors Used:===================…

Read the Full Article

Using embeddable mp3 players – Part 2

Obviously, if you’re not going to post mp3s to your site very often, the easy solution is to paste the embed code into your individual post or page using HTML mode, but you might have a need to embed an mp3 on a regular basis. This tutorial will show how to use the embeddable player mentioned in my in…

Read the Full Article

Plugin Released: “Category Expander”

Tim and I finished a plugin today. It is the first plugin that we are officially releasing to the public. The plugin title is “Category Expander”. You can see it in action on the sidebar. Through the settings menu in the WordPress dashboard, you can choose which categories you’d l…

Read the Full Article

WordPress Plugin: Slim Title

By default, if a post is set to visibility:  Private, or Password Protected, the word “Private:” or “Protected:” is prepended to the title. With a simple google search I found a code snippet that worked in replacing those words with nothing, or if I so choose, anything I li…

Read the Full Article

All outside links open in a new window, with jQuery

Today a client asked if all the links on his site could open in a new window. I solved that problem with jQuery, and here’s how:
<script type=”text/javascript” charset=”utf-8″>
jQuery(document).ready(function() {
jQuery(“a”).filter(function() {
return this.hostname &&a…

Read the Full Article

Absolutely positioned div disappears in IE6.

What is up with this? I really hate IE6, but this is so incredibly stupid that you have to do this. The problem is that if you have an absolutely positioned item next to a floated item, the absolutely positioned item mysteriously disappears. I spent a half-hour working on this before finding a resource…

Read the Full Article

Styling Blockquotes with Psuedo classes

Ok, so a few years ago I was fairly new to working with CSS and XHTML, and found it really frustrating that I couldn’t use two background images  to place quote images before and after a blockquote with CSS. Well, you still can’t do it with the “background” selector, but you c…

Read the Full Article

Why I love web development

I love web development. And this is why: It is the close to endless potential to create. It is the type of creativity I was born for, the type that has always moved me. The same with building things, and electronics (though I don’t know enough to modify all that I would like). It’s the same re…

Read the Full Article