Aug 29 2005 7:30 PM
It’s pigskin time! My favorite time of the year is about to begin — football season is here. I’ve had two Fantasy Football drafts in the past week. One league at work using FOXSports, and one with a bunch of buddies using Yahoo. Yahoo has really put a lot of work into their fantasy sports site since last year and I have to say it’s quite impressive.
In my work league, I picked up Corey Dillon in the first round, while it was Willis McGahee in the other league.
Matt Jones is one of my sleeper predictions. He’s taller and faster than almost all the wideouts in the league and looked impressive in the preseason games. I think he’ll prove that he can make the transition to receiver and his background as a quarterback will only help.
Also, take a look at Kyle Orton. He was just named as the Bears official starter. I know he’s a rook, but he might prove to be a good backup QB on a fantasy team, especially in bigger leagues where the QB well dries up quickly. Of course, I was wrong once, maybe twice, before.
College football kicks off this weekend (well Thursday night really) and I’ll be in Auburn for the first game against Georgia Tech. My dad went to Tech so Auburn needs to win big so I’ll have some bragging rights… And to make up for two years ago. The game is at 7:45 p.m. (CT) on ESPN which means we’ll have a full day of tailgating.
Saturday cannot come soon enough!
Aug 23 2005 11:50 AM
If you've ever tried to spruce up your hyperlinks from the default underline, you've probably noticed that your styles apply not only to your regular links, but to your image links as well.
For example, say you wanted to add a dashed underline to your hyperlinks, then make the underline solid when the user hovers it:
-
a:link, a:visited {
-
border-bottom: 1px dashed #003399;
-
color: #003399;
-
text-decoration: none;
-
}
-
-
a:hover {
-
border-bottom: 1px solid #003366;
-
color: #003366;
-
}
The problem though, is that all of your image links will have that same dashed bottom-border as well which just doesn't look right under an image.
Example A
The only way around this predicament is to assign all of the image links to a different class. Simple enough in theory, but it's a pain in the ass to remember to add class="image" every single time you want to use an image link if you ask me.
Use JavaScript
A better way is to let JavaScript do all the dirty work. I've created a function that will go through all the links on a page, see if the link has an img tag in it, and assign the link to class="image" if it does.
Example B
Add this in your head section:
-
function customImageLinks() {
-
if (!document.getElementsByTagName) return;
-
var anchors = document.getElementsByTagName('a');
-
for (var i=0; i<anchors .length; i++) {
-
anchor = anchors[i];
-
var images = anchor.getElementsByTagName('img');
-
if (images[0] != null) {
-
anchor.className = "image";
-
}
-
}
-
}
-
-
if (window.addEventListener)
-
window.addEventListener("load", customImageLinks, false)
-
else if (window.attachEvent)
-
window.attachEvent("onload", customImageLinks)
-
else if (document.getElementById)
-
window.onload=customImageLinks
Then you can style the image class however you see fit.
-
a:link.image, a:visited.image, a:hover.image {
-
border-bottom: none;
-
}
- Posted 3 years ago in Code
Aug 21 2005 10:29 PM
I just spent the last two hours laughing my ass off at The 40-Year-Old Virgin. This isn't your typical watered-down, over-produced comedy. It's absolutely hysterical. Steve Carell's time to shine is finally here. I've been a fan since he started appearing on The Daily Show and I fucking love NBC's remake of the BBC hit The Office. This movie seals the deal - Steve Carell is a genuis.
Anyway, my face hurts from laughing so hard. ...And because I got sunburned hanging out at the pool in the 103 degree heat today.
Aug 18 2005 9:59 PM
I went to the annual Birmingham AIGA Cosmic Bowling fundraiser tonight along with some fellow IPSA members for some free bowling, pizza, and beer (aka "freer"). I actually bowled pretty decently too. However, our team was neither good enough or bad enough to win a trophy. Yes they gave out trophies for both first and last place. Chuck McBryde took some tons of pictures.
Next year we're winning one of those damn trophies.
Aug 15 2005 10:27 PM
Saturday of this past weekend marked the 25th birthday of one of my buddies, Josh. Josh's girlfriend decided to throw him a little surprise bash to celebrate his quarter-century existence. She took him out to dinner and we gathered at his house --with plenty of beer and champagne, of course-- and surprised the hell out of him when they got home. He had absolutely no idea and everyone had a great time.

Go check out the pictures!