March 06, 2011
How to make Email and Yahoo Messenger Buttons for your Blog
âContact Usâ one of the most important part of a website or blog cuz it gives you a chance to interact with the reader of your blog, what they like and and what they want to read. But those days are gone when you give full e-mail address on your blog like âFor any queries contact us at admin@example.comâ. Nobody has time to copy the address, open his mailbox and go to compose mail. And even all of this is not at all required when you can do all this with just one click.Not only this you can also launch the Yahoo messenger window with a single click. All you need to know is the correct codes for both of them.E-Mails:
mailto:admin@example.com
use your e-mail id in place of admin@example.com
Implementation:
to use it in html use
<a href=âmailto:admin@example.comâ>Mail the Author</a>
If you further want to add the subject of e-mail just modify above code with,
<a href=âmailto:admin@example.com?subject=This is your subjectâ>Mail the Author</a>
Change âThis is your subjectâ to whatever you want in subject field.You don not need to add target=â_blankâ mailto automatically opens in a new window.
Yahoo Messenger:
For yahoo messenger use the code
ymsgr:sendIM?mohsince
Replace mohsince with your own messenger id.
Implementation:
<a href=âymsgr:sendIM?mohsinceâ>Send us Y im</a>
The html knowledge needed for them is just basic, the main part is the codes.If you need further assistance, ask them using the comments below
No comments:
Post a Comment