Avatar

HOWTO: Add fixed position side tab buttons to your website

Social media integration with your website is very important, but where do you put the links to your Facebook page or Twitter account?

The usual method of placing a few buttons or two on your sidebar helps with their visibility, but I’ve found a better way to do it: fixed position side tab buttons.

That’s a long name for it isn’t it? :) Here’s what it looks like:

fixed position side tab buttons

Here’s what it looks like in action on Postertext.com:

Side tab button in action on Postertext.com

The concept is simple: When the webpage is scrolling up and down, and there are elements that do not move (remaining in a fixed position), the elements that are not moving immediately grab your attention. For example, I’m pretty sure you’ve come across those nifty Feedback tabs that sit on the sides of a website. You remember it because it jumps right out at you. Hell, I’ve even clicked on it before. Now, you can do the same for your social media buttons.

Here’s how to do it:

1) Download the necessary button images here (I’ve also included the .PSD files):  http://peterkao.com/documents/Fixed%20side%20tabs.zip

2) Upload the images to your server.

3) Copy and paste the following CSS code into your style sheet. Remember to change the URL path of the images! Also, you can switch the position of the tabs from the right side to the left side by changing “right” to “left.”

/* ==== START Side tabs buttons by Peterkao.com ==== */

#fbtab{

background: url(http://postertext.com/sites/all/themes/frame/images/Like.png) no-repeat; /* Path to Image */

right:1px;  /* change this to left: 1px; to put it on the left of the screen */

top:275px;height:45px;width:32px;margin:0;padding:0;position:fixed;z-index:5000;}

#fbtab a{display:block;width:100%;height:100%;}

#twtab{

background: url(http://postertext.com/sites/all/themes/frame/images/Follow.png) no-repeat; /* Path to Image */

right:1px;  /* change this to left: 1px; to put it on the left of the screen */

top:328px;height:45px;width:32px;margin:0;padding:0;position:fixed;z-index:5000;}

#twtab a{display:block;width:100%;height:100%;}

#rsstab{

background: url(http://postertext.com/sites/all/themes/frame/images/RSS.png) no-repeat; /* Path to Image */

right:1px;  /* change this to left: 1px; to put it on the left of the screen */

top:381px;height:45px;width:32px;margin:0;padding:0;position:fixed;z-index:5000;}

#rsstab a{display:block;width:100%;height:100%;}

/* ==== END Side tabs buttons by Peterkao.com ==== */

4) Insert the following HTML code just before your closing </body> tag of your website. Again, remember to change the URL to your own:

<!– START Side tabs button by Peterkao.com –>

<p id=”fbtab”><a href=”http://facebook.com/MYURL”></a></p>

<p id=”twtab”><a href=”http://twitter.com/MYURL”></a></p>

<p id=”rsstab”><a href=”http://MYURL.com”></a></p>

<!– END Side tabs button by Peterkao.com –>

Your all set!

This will work for all browsers except for Internet Explorer 6, which Microsoft is killing off anyways.

Enjoy!

PS: I first found out how to create these tab buttons here, and extended it to include more social media buttons. Credit goes to schoberg.net!

- Peter Kao

Twitter for Entrepreneurs

Here’s another website that uses the Twitter model: it’s called Sprouter - just launched this week!

Check out their video tour.


I don’t use Twitter anymore, but I’m enjoying this neat little startup though. With Twitter, there is too much noise from too broad of  a network. All I see when I log in to my Twitter account are short, barely-descriptive statuses written by bored people. Too often I see the extended version of these statuses on Facebook, so why even bother logging in at all? (More beef on Twitter later in my upcoming blog post)

I think Sprouter (and also Yammer) did exactly what Twitter needed to do, but didn’t: divide and conquer. There is a need for micro-blogging, but it is important for users to sift through the sea of statuses. Twitter could have done that by implementing filters to segment different interest groups, but they decided to invest in the unfamiliar realm of real-time search instead. This is great, but it requires active involvement – the act of ‘searching’ – too bad people are lazy online!

In the near future, there will be more and more startups applying the micro-blogging concept (or Twitter model). And Twitter will be a dead bird – a martyr for micro-blogging – the Youtube comments of the internet.

You can follow me on Sprouter here: http://www.sprouter.com/peterkao

Peter Kao

Undergrad Entrepreneur listed as 100 Best Blogs for Young Entrepreneurs

Yay!

A few months ago, I received an email from Kelly Sonora from Online College Degree informing me that PeterKao.com was listed as one of the 100 best blogs for young entrepreneurs!

I’m glad that my blog has reached young entrepeneurs across the internets. Thank you all for your readership support! :D

See the entire list here: http://onlinecollegedegree.org/2009/03/12/100-best-blogs-for-young-entrepreneurs-2/

- Peter Kao

Say Goodbye to Telemarketers

Have you been bothered by those pesky telemarketers recently? I know I have. In fact, I remember several times when my dinner was interrupted by some college student asking me if I would like to lower all my credit card bills.

Well – as of September 30th, Canadian Radio-television and Telecommunications Commission (CRTC) will allow phone owners to put their number on a ‘Do not call’ list. Telemarketers will still have a grace-period of 31 days to “adjust” but any unsolicited calls thereafter will result in a fine up to $1,500 for individuals and $15,000 for businesses.

To put your number(s) on the list, visit www.LNNTE-DNCL.gc.ca after September 30th, or call 1-866-580-DNCL (3625).

Man, this is going to piss off a lot of telemarketers!

Source: CTV Canada

Peter Kao

New Background! – “Spring is Here”

I’m 6 days late, but it’s not like anyone cares anyways!

Do a complete refresh of my website by holding down SHIFT + clicking refresh to see the changes (if you can’t already see them).

Also, I added a new page – http://peterkao.com/backgrounds. It’ll hold all the background images that I draw…yay!

Background 2

- Peter Kao

,

My Favorite Sites

May these links be a guide to web enlightenment. Schwing!

  • Trendwatching