Monday, September 08, 2008

Animating favicon the hard way

You can animate your page's favicon by using an animated gif instead of an ico file, but you can also do it by rotating the href value in the <link> tag.

Unfortunately, you have jump thru a few hoops. Just changing your link's href tag won't do anything:

$("link").get(0).href = "newicon.ico";


You also have to remove the <link> tag from the dom and re-add it:


function setFavIcon( src )
{
var link = $('link').get(0);
var linkparent = link.parentNode;
link.href = src;
$(link).remove();
$(linkparent).append(link);
}

Thursday, June 19, 2008

Finally!!!! I get my very own nigerian 419 buddy.

I put an item up on Craigslist. It was the second or third time I listed it, each time dropping the price a little.

Well, I finally got an email from someone that was interested! Yeah me!

From: "chuksbrown@ommail.com"
To: sale-722302282@craigslist.org
Subject: Sony 200 disc cd player --- CDP-CX70ES - $45 (New Market)
Date: Tue, 17 Jun 2008 03:38:07 -0500

** CRAIGSLIST ADVISORY --- AVOID SCAMS BY DEALING LOCALLY
** Avoid: wiring money, cross-border deals, work-at-home
** Beware: cashier checks, money orders, escrow, shipping
** More Info: http://www.craigslist.org/about/scams.html

I need to know your firm price,
kindly get back to me.
THANKS.


____________________________________________________
S Naidu Online Web Designing, Domain Name Registration, Web Hosting, Email Solutions,
Ecommerce website development, http://www.snaidu.com


I replied back that I wasn't willing to reduce the price anymore:

Date: Tue, 17 Jun 2008 09:45:03 -0400
From: "Trevor Harrison"
To: "chuksbrown@ommail.com"
Subject: Re: Sony 200 disc cd player --- CDP-CX70ES - $45 (New Market)

Sorry. I already specified my price... $45. If you're just a little
short of that I'll deal with you, but I've already reduced the price
on this quite a bit.

-Trevor


He replied:

Delivered-To: trevor@harrison.org
From: "chuksbrown@ommail.com"
To: "Trevor Harrison"
Subject: Re: Sony 200 disc cd player --- CDP-CX70ES - $45 (New Market)
Date: Tue, 17 Jun 2008 11:54:55 -0500

Alright, i will pay you the amount you said and i hope it
is in good condition.I'm in london presently but on a
busSiness trip,i would have love to come and pick it up
myself so as to check if it is in good shape,but since i'm
not in town, i will pay you through paypal or money
order,but you will have to do me a favour.I would like the
Sony 200 disc cd player sent to my only daughter as a
birthday gift.She is only 20 and works with the UNICEF in
west Africa. You will ship it to her after confirmation of
money is seen.Thanks.


Well, darn. He wants me to ship it to Africa for him. A old, kinda big cd player. My guess is that shipping would be much more than the listed price. But I'm sure I can trust that money order he says he'll send me.

Its kinda weird. This is my first 419 buddy. I feel happy to finally have one, but I'm wondering what I've been doing wrong that its taken 13 years to finally get one.

Thursday, May 29, 2008

Please wait....

Here are a smattering of please wait icons I found recently: