Showing posts with label Twitter. Show all posts
Showing posts with label Twitter. Show all posts

Friday, March 16, 2007

Chris' Original Twitter Badge -- Code Included

[Update: Twitter has created new and better badges! You can still use this badge if you want.]

Well, I've been getting some hits for 'twitter badge' so I'm gonna give you guys what you want.

Frankly, the badges that Twitter.com supply are pitiful. The Javascript one is plain and just a one-liner. The Flash ones are... well Flash. Who wants to load that? Besides they're ugly.

So as I said before, I made my own original Twitter badge (pictured in the top right of this post). I just used the Twitter logo. I also made the color scheme match Twitter.com's color scheme so everything is nice and pretty.

After, I looked at my badge and thought "It's not cool enough yet." So then I added the actual twitter background. The end result was my new Twitter badge (picture to the bottom right of the post or you can find it in the sidebar).

Anyways, I know you want the code for my original twitter badge so here you go:

But before I give you the code, I ask only one thing; you MUST leave the comment in where it says that I made the Twitter Badge. Therefore, I'll get the credit. Thanks.

Finally, here is the code for my twitter badge:

<!--HEADER-->
<div style="background: #9AE4E8 url(http://assets4.twitter.com/images/bg.gif) no-repeat bottom left; padding:5px 5px 3px 5px; text-align:center;">
<a href="http://twitter.com/chrisjf" title="ChrisJF's Twitter"><img border="0" width="210" alt="Twitter Logo" src="http://assets4.twitter.com/images/twitter.gif" height="49"/></a>
</div>

<!-- This Twitter Badge was made by ChrisJF . http://chrisjf.blogspot.com You may use or modify this badge for your own purposes but you MUST leave this comment in to properly credit me. -->

<!--CONTENT-->
<div style="border: 1px solid #9AE4E8; border-top:0px; padding:5px;">


<!--NOTE: This section of code is just the generic Twitter HTML Badge. You can copy and paste it here. (Make sure you click the "No title" option.) The section below shows an example of the Twitter HTML code. You need to delete it and put in your own Twitter HTML that includes your username.-->
<div id="twitter_div"><ul
id="twitter_update_list"></ul>
<a id="twitter-link" style="display:block;text-align:right;"
href="http://twitter.com/chrisjf">follow me on
Twitter</a>
</div>
<script src="http://twitter.com/javascripts/blogger.js"
type="text/javascript"></script>
<script text="text/javascript"
src="http://twitter.com/statuses/user_timeline/username.json?callback=twitterCallback2&count=5"></script>

</div>

NOTE: You're going to have to change a few links at the beginning of the code so that they link to your page (i.e. twitter.com/username and title="YourName's Twitter").

Tuesday, January 30, 2007

chrisjf's Origional Twitter Badge

Check out my new Twitter Badge. (Look at the sidebar.) I made it myself. And I didn't read any help files. Its pretty snazzy.

What is Twitter you might be asking? Twitter answers the question: What are you doing right now.

Update: I've updated my Origional Twitter Badge. You can find it here. Also, I've included the code for my Twitter Badge so you have a cool Twitter Badge too!