实现EMAIL本页功能
2007-11-27 17:56:27 来源:WEB开发网核心提示:实现EMAIL本页功能例子: E-mail本页 <html><title>测试</title><body><script language=javascript>function mailpage(){ mail_str = mailto:xxx@
实现EMAIL本页功能
例子: E-mail本页<html>
<title>测试</title>
<body>
<script language=javascript>
function mailpage()
{
mail_str = mailto:xxx@21cn.com?subject=推荐网页: + document.title;
mail_str += &body=我向你推荐这个页面,希望你喜欢!网页标题: + document.title;
mail_str += 。请点击查看: + location.href;
location.href = mail_str;
}
</script>
<A HREF = javascript:mailpage()>E-mail本页</A>
更多精彩
赞助商链接