dongyu8664 2016-07-14 03:39
浏览 55
已采纳

在网站中单击电子邮件图标时打开电子邮件

I am creating a website now and one part of it is when the mail icon is clicked. The email interface will display. I've seen example in internet like below:

enter image description here

When the email icon is clicked. The email interface will show:

enter image description here

What I want to do is to apply it in my website but I don't have any idea how it works. I am here to asked some suggestions or link tutorials on how to do it or if it's possible a sample code. I'm using php codeigniter. Thank you.

  • 写回答

1条回答 默认 最新

  • dousu1916 2016-07-14 03:44
    关注

    you just need to add one <a> link and point to email like:

    <a href="mailto:myemail@site.com?Subject=Some%20subject"><img src="myImage.jpg"/></a>
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?