Many people place text on their websites, saying 'Add me on skype', 'Contact me by msn' etc, But this isnt the most friendly way of doing it.
As we all know, the human race is becoming lazy, we want everything automated and done for us, and so in this tutorial, I shall show you how to add a Instant Messenging Control link to your website.
Skype
There are various different methods out there for skype, firstly I shall show you how to check if a user has skype or not:
- <script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script
Source: Skype.com
Place the above in your head tags.
To call something like this you need to create a link, and run some javascript on it:
- <a href='' onClick='return skypeCheck();'>Check for Skype</a>
Now to the good stuff:
To add somebody in skype via a link:
On above
Change 'bowersbros' to your username, and you can change 'add' to one of the following for the following results:
?voicemail = leave Voicemail
?userinfo = view their profile
?chat = Starts conversation
---
Now onto Google Talk
On above Change bowersbros@gmail.com to your client name
MSN
- <a href=”msnim:chat?contact=alex_ishere@hotmail.co.uk”>Chat with me</a>
- <a href=”msnim:add?contact=alex_ishere@hotmail.co.uk”>Add me to your contact list!</a>
- <a href=”msnim:voice?contact=alex_ishere@hotmail.co.uk”>Voice chat with me</a>
- <a href=”msnim:video?contact=alex_ishere@hotmail.co.uk”>Video chat with me</a>
again, change alex_ishere@hotmail.co.uk to your msn address.
I also know that itunes has the itunes: link, however I do not know how to use it to play a specific song, so if anybody knows how, please post it
Finally, working example in my signature
